Instance Property

specularAmount

The tendency of the material to generate specular highlights.

Declaration

@property(nonatomic, readonly, retain) MDLMaterialProperty *specularAmount;

Discussion

The default specular value is zero (no specular highlights).

See Also

Working with Shading Properties

subsurface

The degree to which light scatters under the surface of the material.

metallic

The degree to which the material appears as a dielectric surface (lower values) or as a metal (higher values).

specularTint

The balance of color for specular highlights, between the light color (lower values) and the material’s base color (at higher values).

roughness

The degree to which a material appears smooth, affecting both diffuse and specular response.

anisotropic

The degree to which specular highlights elongate in the direction of the local tangent basis.

anisotropicRotation

The angle at which anisotropic effects are rotated relative to the local tangent basis.

sheen

The intensity of highlights that appear only at glancing angles on a material’s surface.

sheenTint

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).

clearcoat

The intensity of a second specular highlight, similar to the gloss that results from a clear coat on an automotive finish.

clearcoatGloss

The sharpness of a second specular highlight, similar to the gloss that results from a clear coat on an automotive finish.