internal void BuildRayTracingLightCluster(CommandBuffer cmd, HDCamera hdCamera) { ScreenSpaceReflection reflSettings = VolumeManager.instance.stack.GetComponent <ScreenSpaceReflection>(); GlobalIllumination giSettings = VolumeManager.instance.stack.GetComponent <GlobalIllumination>(); RecursiveRendering recursiveSettings = VolumeManager.instance.stack.GetComponent <RecursiveRendering>(); PathTracing pathTracingSettings = VolumeManager.instance.stack.GetComponent <PathTracing>(); if (m_ValidRayTracingState && (reflSettings.rayTracing.value || giSettings.rayTracing.value || recursiveSettings.enable.value || pathTracingSettings.enable.value)) { m_RayTracingLightCluster.EvaluateLightClusters(cmd, hdCamera, m_RayTracingLights); m_ValidRayTracingCluster = true; } }