EnableSphereCulling
Causes RayTracingAccelerationStructure.CullInstances to perform sphere culling.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
EnableSphereCulling = 1
Remarks
The sphere is defined by RayTracingInstanceCullingConfig.sphereCenter and RayTracingInstanceCullingConfig.sphereRadius values.
A Renderer in the Scene is accepted to the acceleration structure if its AABB lies completely or partially inside the sphere.