---
title: isLightingEnabled
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnparticlesystem/islightingenabled
---

# isLightingEnabled

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

## Declaration

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

## Discussion

Discussion If true, SceneKit uses the position, color, and other attributes of 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 false. note: SceneKit uses only one SCNLight object to illuminate rendered particles. Use the categoryBitMask of the node containing the particle system to control which light applies to the particles.

## See Also

### Managing Particle Rendering

- [blendMode](scenekit/scnparticlesystem/blendmode.md)
- [SCNParticleBlendMode](scenekit/scnparticleblendmode.md)
- [orientationMode](scenekit/scnparticlesystem/orientationmode.md)
- [SCNParticleOrientationMode](scenekit/scnparticleorientationmode.md)
- [sortingMode](scenekit/scnparticlesystem/sortingmode.md)
- [SCNParticleSortingMode](scenekit/scnparticlesortingmode.md)
- [isBlackPassEnabled](scenekit/scnparticlesystem/isblackpassenabled.md)
