Experimental: this API is experimental and might be changed or removed in the future.

RayTracingMode.DynamicGeometry

Description

Use this mode when the associated geometry or transformation can change.

If you add a ray tracing instance that uses this mode to a RayTracingAccelerationStructure, Unity updates the associated geometry acceleration structure (BLAS) every time RayTracingAccelerationStructure.Build or CommandBuffer.BuildRayTracingAccelerationStructure is invoked.

Additional resources: RayTracingAccelerationStructure.AddInstance, RayTracingAccelerationStructure.CullInstances.


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