---
title: lightingModel
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/lightingmodel
---

# lightingModel

The lighting model to use when rendering this material.

## Declaration

```swift
var lightingModel: LightingModel
```

## Discussion

Discussion Must match the type of the surface output node in shaderGraph.

## See Also

### Configuring rendering

- [blendMode](realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/blendmode.md)
- [isColorDitheringEnabled](realitykit/shadergraphmaterial/program-swift.struct/descriptor-swift.struct/iscolorditheringenabled.md)
