Seems that the question “do I need to multiply or divide by pi here?” should be considered as one of the most difficult in computer graphics. And it’s wonderful that there are some people who spent their time and wrote posts and source code on this topic.

https://seblagarde.wordpress.com/2012/01/08/pi-or-not-to-pi-in-game-lighting-equation/

http://www.rorydriscoll.com/2009/01/25/energy-conservation-in-games/

https://github.com/TheRealMJP/BakingLab

Have to add that the whole MJP’s series on baking lighting is wonderful

https://mynameismjp.wordpress.com/2016/10/09/new-blog-series-lightmap-baking-and-spherical-gaussians/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s