• Convert a specular exponent (e.g. phong or blinn) to roughness

    Uses the conversion from - http://simonstechblog.blogspot.com/2011/12/microfacet-brdf.html

    Parameters

    • shininess: number

      The shinyness exponent/𝛼 to convert to roughness

    Returns number

    The resultant roughness.