Instance Property


The lighting formula that SceneKit uses to render the material.


var lightingModel: SCNMaterial.LightingModel { get set }


SceneKit provides several different lighting models, each of which combines information from a material’s visual properties with the lights and other contents of a scene. For details on how each lighting model affects rendering, see Lighting Models. For details on the contribution from each visual property, see Visual Properties for Special Effects.

See Also

Choosing a Shading Model

struct SCNMaterial.LightingModel

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