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

RayTracingInstanceCullingTest.allowAlphaTestedMaterials

切换到手册
public bool allowAlphaTestedMaterials ;

描述

Whether to allow Renderers that use alpha tested Materials.

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

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

See Also: RayTracingAccelerationStructure.CullInstances.