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

RayTracingInstanceCullingTest.allowOpaqueMaterials

public bool allowOpaqueMaterials;

Description

Whether to allow Renderers that use opaque Materials.

If this value is false and the Mesh used by a Renderer uses opaque Materials then the test fails. A Material is considered opaque if it's not alpha tested or transparent.

See Also: RayTracingAccelerationStructure.CullInstances.