Contents

interfaceIndexOfRefraction

The index of refraction for a material itself.

Declaration

var interfaceIndexOfRefraction: MDLMaterialProperty { get }

Discussion

This value corresponds to the n2 parameter in Schlick’s equation for approximating Fresnel reflection effects.

The default value is 1.0.

See Also

Working with Shading Properties