EnableSphereCulling
Causes RayTracingAccelerationStructure.CullInstances to perform sphere culling.
阅读时间1 分钟最后更新于 1 个月前
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.