The degree to which a material appears smooth, affecting both diffuse and specular response.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
At lower values, the material appears shiny, with well-defined specular highlights. At higher values, a diffuse material becomes retroreflective, and specular highlights are very spread out.
The default value is
0.9, appearing mostly matte.
Working with Shading Properties
The degree to which light scatters under the surface of the material.
The degree to which the material appears as a dielectric surface (lower values) or as a metal (higher values).
The tendency of the material to generate specular highlights.
The balance of color for specular highlights, between the light color (lower values) and the material’s base color (at higher values).
The degree to which specular highlights elongate in the direction of the local tangent basis.
The angle at which anisotropic effects are rotated relative to the local tangent basis.
The intensity of highlights that appear only at glancing angles on a material’s surface.
The balance of color for highlights that appear only at glancing angles, between the light color (lower values) and the material’s base color (at higher values).
The intensity of a second specular highlight, similar to the gloss that results from a clear coat on an automotive finish.
The sharpness of a second specular highlight, similar to the gloss that results from a clear coat on an automotive finish.