• Preparing search index...
  • The search index is not available
conway
  • conway
  • core/canonical_material
  • exponentToRoughness

Function exponentToRoughness

  • exponentToRoughness(shininess: number): number
  • 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.

    • Defined in core/canonical_material.ts:21

Settings

Member Visibility
conway
  • Loading...