<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNLight/shadowMode",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNLight(py)shadowMode"
  },
  "title" : "shadowMode"
}
-->

# shadowMode

The mode SceneKit uses to render shadows.

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

## Discussion

The default mode is [`SCNShadowMode.forward`](/documentation/SceneKit/SCNShadowMode/forward) in iOS and in macOS 10.10 or later. In OS X v10.9 or earlier, the default mode is [`SCNShadowMode.deferred`](/documentation/SceneKit/SCNShadowMode/deferred).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)