alphaTestedMaterials
The corresponding RayTracingSubMeshFlags value for alpha tested Materials.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public RayTracingSubMeshFlags alphaTestedMaterials
Remarks
Using RayTracingSubMeshFlags.Enabled alone will allow the GPU to execute any hit shaders where a ray-geometry hit can be reported based on an alpha test.
Additional Resources: RayTracingAccelerationStructure.CullInstances.