Example #1
0
        static void UpdateEnvironmentSubScenes(SerializedHDRaytracingEnvironment rtEnv)
        {
            rtEnv.Apply();
            HDRenderPipeline hdPipeline = RenderPipelineManager.currentPipeline as HDRenderPipeline;

            if (hdPipeline != null)
            {
                hdPipeline.m_RayTracingManager.UpdateEnvironmentSubScenes();
            }
        }
Example #2
0
 public override void OnInspectorGUI()
 {
     m_SerializedHDRaytracingEnvironment.Update();
     Inspector.Draw(m_SerializedHDRaytracingEnvironment, this);
     m_SerializedHDRaytracingEnvironment.Apply();
 }