constant
Uniform shading that incorporates ambient lighting only.
Declaration
static let constant: SCNMaterial.LightingModelDiscussion
This shading model calculates the color of a point on a surface with the following formula:
color = ambient * al + diffuseThe ambient and diffuse terms refer to the material’s properties. The al term is the sum of all ambient lights in the scene (a color).