Starting to really get somewhere now with the volumetric clouds and light scattering effects.
The sunset effect is done by simulating RayLeigh Scattering. I walk a ray from the edge of the atmosphere to the camera, accumulating scattered in light at each step and scattering light back out, with each of the 3 colors of light used in computer graphics being scattered in and out at different rates.