# LightShadowCasterMode

> Allows mixed lights to control shadow caster culling when Shadowmasks are present.

## Definition

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

```csharp
public enum LightShadowCasterMode
```

## Fields

| Value                                                                                                         | Description                                                                                         |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [Default](/engine/6000.6/script-reference/unityengine/lightshadowcastermode/default.md)                       | Use the global Shadowmask Mode from the quality settings.                                           |
| [DistanceShadowMask](/engine/6000.6/script-reference/unityengine/lightshadowcastermode/distanceshadowmask.md) | Render all shadow casters into the shadow map. This corresponds with the distance Shadowmask mode.  |
| [ShadowMask](/engine/6000.6/script-reference/unityengine/lightshadowcastermode/shadowmask.md)                 | Render only non-lightmapped objects into the shadow map. This corresponds with the Shadowmask mode. |
