I’ve been trying to work on implementing an atmospheric scattering model for a while. Originally, I went with the ATI paper by Hoffman and Preetham, but I didn’t like the results. Or rather, I couldn’t get the right scattering coefficients to get it to work nicely. I then considered Sean O’Neil’s article on GPU Gems 2, but I felt it was a little over my head. I ended up using Ralf Nielsen’s thesis. I don’t intend to talk about the techniques used, you can just read the papers if you’re interested.
It took me a month to get this far. Since I don’t really know what to say, I’ll just put some pictures.