# deniedShaderPasses

> An array of Shader Pass names used by RayTracingAccelerationStructure.CullInstances to ignore Renderers or individual sub-meshes.

## Definition

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

```csharp
public string[] deniedShaderPasses
```

### Remarks

If a Shader contains a Shader Pass from the list, the acceleration structure ignores the Renderer or the sub-mesh that uses the Shader.

[RayTracingAccelerationStructure.CullInstances](/engine/6000.6/script-reference/unityengine/rendering/raytracingaccelerationstructure/cullinstances.md).
