Instance Property

lightingModelName

The lighting formula that SceneKit uses to render the material.

Declaration

@property(nonatomic, copy) SCNLightingModel lightingModelName;

Discussion

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

SCNLightingModel

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