Version: 2023.2
public Rendering.RayTracingSubMeshFlags alphaTestedMaterials ;

描述

The corresponding RayTracingSubMeshFlags value for alpha tested Materials.

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.