This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingTest.allowTransparentMaterials

public bool allowTransparentMaterials;

Description

Whether to allow Renderers that use transparent Materials.

Use RayTracingInstanceCullingConfig.transparentMaterialConfig to define when a Material is considered alpha tested.

If this value is false and the Mesh used by a Renderer uses transparent Materials then the test fails.

See Also: RayTracingAccelerationStructure.CullInstances.