# DistanceShadowMask

> Render all shadow casters into the shadow map. This corresponds with the distance Shadowmask mode.

## Definition

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

```csharp
DistanceShadowMask = 2
```
