# alphaTestedMaterials

> The corresponding RayTracingSubMeshFlags value for alpha tested Materials.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.5/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public RayTracingSubMeshFlags alphaTestedMaterials
```

### Remarks

Using [RayTracingSubMeshFlags.Enabled](/engine/6000.5/script-reference/unityengine/rendering/raytracingsubmeshflags/enabled.md) 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](/engine/6000.5/script-reference/unityengine/rendering/raytracingaccelerationstructure/cullinstances.md).
