Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


allowAlphaTestedMaterials

Whether to allow Renderers that use alpha tested Materials.
Read time 1 minuteLast updated 6 days ago

Definition

public bool allowAlphaTestedMaterials

Remarks

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.