RayTracingSubMeshFlagsConfig.alphaTestedMaterials

public Rendering.RayTracingSubMeshFlags alphaTestedMaterials;

Description

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.


Did you find this page useful? Please give it a rating: