# allowAlphaTestedMaterials

> Whether to allow Renderers that use alpha tested Materials.

## Definition

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

```csharp
public bool allowAlphaTestedMaterials
```

### Remarks

Use [RayTracingInstanceCullingConfig.alphaTestedMaterialConfig](/engine/6000.0/script-reference/unityengine/rendering/raytracinginstancecullingconfig/alphatestedmaterialconfig.md) to define when a Material is considered alpha tested.

If this value is false and the Mesh used by a Renderer uses alpha tested Materials then the test fails.

Additional Resources: [RayTracingAccelerationStructure.CullInstances](/engine/6000.0/script-reference/unityengine/rendering/raytracingaccelerationstructure/cullinstances.md).
