The index of refraction for a material itself.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
This value corresponds to the
n2 parameter in Schlick’s equation for approximating Fresnel reflection effects.
The default value is
Working with Shading Properties
The inherent color of the material, to be used as a modulator during shading.
The color emitted as radiance from a material’s surface.
The intensity of specular highlights on the material’s surface.
The variation in the surface normal vectors in a material, relative to model coordinate space.
The attenuation of ambient light due to local geometry variations on a surface.
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