<!--
{
  "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/SCNMaterial/LightingModel-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@T@SCNLightingModel"
  },
  "title" : "SCNMaterial.LightingModel"
}
-->

# SCNMaterial.LightingModel

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

```
struct LightingModel
```

## Discussion

![](images/com.apple.scenekit/media-2929794@2x.png)

## Topics

### Type Properties

[`blinn`](/documentation/SceneKit/SCNMaterial/LightingModel-swift.struct/blinn)

Shading that incorporates ambient, diffuse, and specular properties, where specular highlights are calculated using the Blinn-Phong  formula.

[`constant`](/documentation/SceneKit/SCNMaterial/LightingModel-swift.struct/constant)

Uniform shading that incorporates ambient lighting only.

[`lambert`](/documentation/SceneKit/SCNMaterial/LightingModel-swift.struct/lambert)

Shading that incorporates ambient and diffuse properties only.

[`phong`](/documentation/SceneKit/SCNMaterial/LightingModel-swift.struct/phong)

Shading that incorporates ambient, diffuse, and specular properties, where specular highlights are calculated using the Phong  formula.

[`physicallyBased`](/documentation/SceneKit/SCNMaterial/LightingModel-swift.struct/physicallyBased)

Shading based on a realistic abstraction of physical lights and materials.

[`shadowOnly`](/documentation/SceneKit/SCNMaterial/LightingModel-swift.struct/shadowOnly)



---

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)