ambientOcclusion
An object that provides color values to be multiplied with the ambient light affecting the material.
Declaration
var ambientOcclusion: SCNMaterialProperty { get }Discussion
Use this property to assign an ambient occlusion texture map to a surface. This property has no effect if there is no ambient light in the scene. If this property is not nil, SceneKit ignores the ambient property.
When using physically-based shading (see physicallyBased), ambient occlusion approximates large-scale surface details that obscure global illumination.