# LightShadowCasterMode

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

## Definition

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

```csharp
public enum LightShadowCasterMode
```

## Fields

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