allowTransparentMaterials
Whether to allow Renderers that use transparent Materials.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public bool allowTransparentMaterials
Remarks
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.
Additional Resources: RayTracingAccelerationStructure.CullInstances.