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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software