View source on GitHub |
This module implements phong specular reflectance.
For a derivation of the normalization factor ensuring energy conservation, we refer the interested reader to Eric P. Lafortune, and Yves D. Willems. "Using the modified phong reflectance model for physically based rendering". 1994.
Functions
brdf(...)
: Evaluates the specular brdf of the Phong model.