cameraRelativeShadowCulling
Whether Unity uses the camera position instead of the world space origin as the reference point for culling shadows.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
public bool cameraRelativeShadowCulling { get; set; }
Remarks
Using the camera position can reduce flickering of shadows that are far from the world space origin. For the global setting, refer to GraphicsSettings.cameraRelativeShadowCulling.