Google I/O returns May 18-20! Reserve space and build your schedule Register now

Module: tfg.rendering.reflectance.phong

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.


brdf(...): Evaluates the specular brdf of the Phong model.