Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RayTracingInstanceCullingConfig.materialTest

Description

A Material-based test used in RayTracingAccelerationStructure.CullInstances.

This test can be used to ignore Materials that don't support ray tracing. If the test fails, the Renderer or the sub-mesh that uses the Material will be ignored when building the acceleration structure.

Additional resources: RayTracingAccelerationStructure.