import math


def _ior_to_schlick(ior):
    """
    Convert IOR to the Fresnel normal reflectivity (Schlick F0).  Some materials give IOR,
    but Arnold uses normal reflectivity.
    """
    return math.pow((1.0-ior) / (1+ior), 2)