---
title: cullModeOverride
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/directionallightcomponent/shadow/cullmodeoverride
---

# cullModeOverride

The light’s culling mode for shadow map rendering.

## Declaration

```swift
var cullModeOverride: DirectionalLightComponent.Shadow.ShadowMapCullMode? { get set }
```

## See Also

### Configuring the shadow

- [depthBias](realitykit/directionallightcomponent/shadow/depthbias.md)
- [shadowProjection](realitykit/directionallightcomponent/shadow/shadowprojection.md)
- [maximumDistance](realitykit/directionallightcomponent/shadow/maximumdistance.md)
