<!--
{
  "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/SCNParticleSystem/isLightingEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNParticleSystem(py)lightingEnabled"
  },
  "title" : "isLightingEnabled"
}
-->

# isLightingEnabled

A Boolean value that determines whether SceneKit applies lighting to particle images when rendering.

```
var isLightingEnabled: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, SceneKit uses the position, color, and other attributes of [`SCNLight`](/documentation/SceneKit/SCNLight) objects in the scene to shade each rendered particle image. Use this option to enhance volumetric effects such as smoke and fog.

The default value is <doc://com.apple.documentation/documentation/Swift/false>.

> Note:
> SceneKit uses only one ``doc://com.apple.scenekit/documentation/SceneKit/SCNLight`` object to illuminate rendered particles. Use the ``doc://com.apple.scenekit/documentation/SceneKit/SCNNode/categoryBitMask`` of the node containing the particle system to control which light applies to the particles.

---

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)