TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

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.

Functions

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