Instance Property

normal

The variation in the surface normal vectors in a material, relative to model coordinate space.

Declaration

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

Discussion

The default normal value is zero (no variation in surface normal vectors). Typically, you assign a texture to this material property to create the appearance of detailed surface contours.

See Also

Working with Shading Properties

baseColor

The inherent color of the material, to be used as a modulator during shading.

emission

The color emitted as radiance from a material’s surface.

specular

The intensity of specular highlights on the material’s surface.

materialIndexOfRefraction

The index of refraction for the medium surrounding a material.

interfaceIndexOfRefraction

The index of refraction for a material itself.

ambientOcclusion

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

ambientOcclusionScale

The scaling factor for ambient occlusion shading.