Enumeration Case

MDLMaterialSemanticAmbientOcclusion

The attenuation of ambient light due to local geometry variations on a surface.

Declaration

MDLMaterialSemanticAmbientOcclusion

Discussion

Ambient occlusion (AO) describes the accessibility of a point on a surface to the surrounding radiant environment and is typically used to attenuate ambient lighting. A renderer should not use AO data should to affect direct illumination.

Model I/O uses this semantic for the ao and map_ao attributes when importing from the MTL file format (for assets in the OBJ file format).

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