Type Alias

SCNLightingModel

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

Declaration

typedef NSString *SCNLightingModel;

Discussion

Figure 1

Lighting model examples

Topics

Type Properties

SCNLightingModelBlinn

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

SCNLightingModelConstant

Uniform shading that incorporates ambient lighting only.

SCNLightingModelLambert

Shading that incorporates ambient and diffuse properties only.

SCNLightingModelPhong

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

SCNLightingModelPhysicallyBased

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

See Also

Choosing a Shading Model

lightingModelName

The lighting formula that SceneKit uses to render the material.