Version: 2022.2
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingFlags.EnableSphereCulling

매뉴얼로 전환

설명

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.