# CullLightmappedShadowCasters

> This culling invocation should cull static objects whose shadows have been baked in lightmaps.

## Definition

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

```csharp
CullLightmappedShadowCasters = 1
```

### Remarks

This flag will only be set when [BatchCullingContext.viewType](/engine/6000.5/script-reference/unityengine/rendering/batchcullingcontext/viewtype.md) is [BatchCullingViewType.Light](/engine/6000.5/script-reference/unityengine/rendering/batchcullingviewtype/light.md), for lights that use a mixture of baked and dynamic shadows.  When set, the implementation of the [BatchRendererGroup.OnPerformCulling](/engine/6000.5/script-reference/unityengine/rendering/batchrenderergroup/onperformculling.md) callback should skip renderers that affect lightmaps, adding only dynamic shadow casters to the [BatchCullingOutput](/engine/6000.5/script-reference/unityengine/rendering/batchcullingoutput.md).
