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.