matchvex_specular VEX function

Context: surface

See also: specular, Writing a PBR shader

  1. bsdf matchvex_specular(float exponent)

  2. bsdf matchvex_specular(vector nml, float exponent)

The BSDF produced by specular is not the same as the traditional VEX specular() output. Use this function to produce a closer approximate match to the traditional VEX specular().