Enumeration Case

MDLMaterialSemantic.materialIndexOfRefraction

The index of refraction for a material itself.

Declaration

case materialIndexOfRefraction = 17

Discussion

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