---
title: lambert
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scnmaterial/lightingmodel-swift.struct/lambert
---

# lambert

Shading that incorporates ambient and diffuse properties only.

## Declaration

```swift
static let lambert: SCNMaterial.LightingModel
```

## Discussion

Discussion This shading model is based on Lambert’s Law of diffuse reflectance, calculating the color of a point on a surface with the following formula: color = ambient * al + diffuse * max(0, dot(N, L)) The ambient and diffuse terms refer to the material’s properties. The other terms are as follows:

## See Also

### Type Properties

- [blinn](scenekit/scnmaterial/lightingmodel-swift.struct/blinn.md)
- [constant](scenekit/scnmaterial/lightingmodel-swift.struct/constant.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)
