[fix] Add cosine correction to the diffuse map computation
Contributions to the diffuse map are now proportional to the cosine of the zenith angle of light coming from the "n small suns". The computation is vectorized and should not be a performance decrease relative to the previous implementation, while significantly increasing accuracy.
parent
dc41c786
No related branches found
No related tags found
Loading
Please register or sign in to comment