---
title: shadowMode
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnlight/shadowmode
---

# shadowMode

The mode SceneKit uses to render shadows.

## Declaration

```swift
var shadowMode: SCNShadowMode { get set }
```

## Discussion

Discussion The default mode is SCNShadowMode.forward in iOS and in macOS 10.10 or later. In OS X v10.9 or earlier, the default mode is SCNShadowMode.deferred.

## See Also

### Managing Shadows Cast by the Light

- [castsShadow](scenekit/scnlight/castsshadow.md)
- [shadowRadius](scenekit/scnlight/shadowradius.md)
- [shadowColor](scenekit/scnlight/shadowcolor.md)
- [shadowMapSize](scenekit/scnlight/shadowmapsize.md)
- [shadowSampleCount](scenekit/scnlight/shadowsamplecount.md)
- [SCNShadowMode](scenekit/scnshadowmode.md)
- [shadowBias](scenekit/scnlight/shadowbias.md)
- [orthographicScale](scenekit/scnlight/orthographicscale.md)
- [zFar](scenekit/scnlight/zfar.md)
- [zNear](scenekit/scnlight/znear.md)
