Quote Originally Posted by Bubba
I'm not sure if Esun should be expressed as some value between 0.0f and 1.0f. According to the equation it does look as if it expects a normalized sun value.
AFAIK, Esun is supposed to be an RGB value, so I'm assuming that it is between 0.0 and 1.0.

Quote Originally Posted by Bubba
Once you get all this figured out then you must take the results and run them through a matrix that will convert the values to RGBs.
The in-scatter result should be converted to RGB? I made an attempt at that, but it didn't seem to turn out quite right (colour-wise).

I tried rendering the extinction values as you said, and it appeared to be the same as the GDC shot (whiter closer to the camera, orange farther away). When the sun goes down, the orange/red become much more visible on the terrain, but not in the sky. I'm not sure what would cause one to work, and one to not.


Here's the latest shot, with a different terrain and smaller sky-sphere: