Skip to content
Snippets Groups Projects
Commit cee63b28 authored by Bouvry Arnaud's avatar Bouvry Arnaud
Browse files

[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
2 merge requests!21v1.1.0,!19Resolve "[fix] Diffuse irradiance is not fully anisotropic"
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment