RayTracingInstanceCullingFlags.EnableSphereCulling

Description

Causes RayTracingAccelerationStructure.CullInstances to perform sphere culling.

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.


Did you find this page useful? Please give it a rating: