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

# blinn

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

## Declaration

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

## Discussion

Discussion The Blinn-Phong approximation of real-world reflectance calculates the color of a point on a surface using the following formula: color = ambient * al + diffuse * max(0, dot(N, L)) + specular * pow(max(0, dot(H, N)), shininess) Some terms refer to the material’s properties: ambient, diffuse, specular, and shininess. The other terms are as follows:

## See Also

### Type Properties

- [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)
