TensorFlow 2.0 RC is available Learn more

Module: tfg.rendering.reflectance.phong

This module implements phong specular reflectance.

Defined in rendering/reflectance/phong.py.

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.