VEX Dictionary / phong
phong
Builds a Phong specular BSDF or computes classic Phong shading from a normal, eye vector, and shininess.
group: bsdfshadingpbrbsdfphong
Available in displace, fog, light, shadow, surface
Usage
bsdf phong(float exponent, ...)
bsdf phong(vector nml, float exponent, ...)
vector phong(vector nml, vector V, float shinyness, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
bsdf phong(float, ...)displace, fog, light, shadow, surfacebsdf phong(vector, float, ...)displace, fog, light, shadow, surfacevector phong(vector, vector, float, ...)displace, fog, surface