---
title: SCNMaterial.LightingModel
framework: scenekit
role: symbol
role_heading: Structure
path: scenekit/scnmaterial/lightingmodel-swift.struct
---

# SCNMaterial.LightingModel

Constants specifying the lighting and shading algorithm to use for rendering a material.

## Declaration

```swift
struct LightingModel
```

## Discussion

Discussion

## Topics

### Type Properties

- [blinn](scenekit/scnmaterial/lightingmodel-swift.struct/blinn.md)
- [constant](scenekit/scnmaterial/lightingmodel-swift.struct/constant.md)
- [lambert](scenekit/scnmaterial/lightingmodel-swift.struct/lambert.md)
- [phong](scenekit/scnmaterial/lightingmodel-swift.struct/phong.md)
- [physicallyBased](scenekit/scnmaterial/lightingmodel-swift.struct/physicallybased.md)
- [shadowOnly](scenekit/scnmaterial/lightingmodel-swift.struct/shadowonly.md)

### Initializers

- [init(rawValue:)](scenekit/scnmaterial/lightingmodel-swift.struct/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Choosing a Shading Model

- [lightingModel](scenekit/scnmaterial/lightingmodel-swift.property.md)
