blinn VEX function
phong, blinn, and specular return the illumination for specular highlights using different lighting models.
Context: surface
See also: phong, wireblinn, matchvex_blinn, Writing a PBR shader
-
vector blinn(vector nml, vector V, float roughness) -
bsdf blinn(float exponent) -
bsdf blinn(vector nml, float exponent)
See phong for information on the basic lighting models. See writing a PBR shader for information on BSDFs.
You can optionally specify a light mask.
BSDF version
-
bsdf blinn(float exponent) -
bsdf blinn(vector nml, float exponent)
A blinn highlight.
-
exponent– blinn exponent.