Precomputed Atmospheric Scattering - Irradiance table?

Started by
-1 comments, last by Waaayoff 10 years, 9 months ago

I'm trying to implement Bruneton's algorithm but i'm not sure the irradiance results are correct. The output texture is black but the values aren't zero. If i multiply them by 100 i get the following:

yqda.png

Which closely resembles the image found in this implementation by Stefan Sperlhofer. So my queston is, is the table supposed to have such low values? Because the Transmittance and Inscatter tables don't.

Also, in the algorithm the single irradiance is multiplied by zero and discarded... Why calculate it in the first place???

"Spending your life waiting for the messiah to come save the world is like waiting around for the straight piece to come in Tetris...even if it comes, by that time you've accumulated a mountain of shit so high that you're fucked no matter what you do. "

This topic is closed to new replies.

Advertisement