public override void Cleanup()
        {
            m_Settings = null;

            RTHandles.Release(m_OpticalDepthTable);            m_OpticalDepthTable            = null;
            RTHandles.Release(m_GroundIrradianceTables[0]);    m_GroundIrradianceTables[0]    = null;
            RTHandles.Release(m_GroundIrradianceTables[1]);    m_GroundIrradianceTables[1]    = null;
            RTHandles.Release(m_InScatteredRadianceTables[0]); m_InScatteredRadianceTables[0] = null;
            RTHandles.Release(m_InScatteredRadianceTables[1]); m_InScatteredRadianceTables[1] = null;
            RTHandles.Release(m_InScatteredRadianceTables[2]); m_InScatteredRadianceTables[2] = null;
            RTHandles.Release(m_InScatteredRadianceTables[3]); m_InScatteredRadianceTables[3] = null;
            RTHandles.Release(m_InScatteredRadianceTables[4]); m_InScatteredRadianceTables[4] = null;

            m_LastPrecomputedBounce = 0;
            m_IsBuilt = false;
        }
 public PhysicallyBasedSkyRenderer(PhysicallyBasedSkySettings settings)
 {
     m_Settings = settings;
 }