It's quite the learning experience however since I need to think about how to get things to run, and look, properly based on an arbitrary number and arrangement of layers. Not to mention figuring out how best to store star locations and keep things separate from dust / gas layers. And then finally how to combine everything. Ultimately rendering a latlong panorama that looks correct.
I could go on and on about what tricks I'm using, but I'll just say that I've implemented some of my changes I talked about in my previous posts, and actually using a class to store stars, etc. It runs amazingly faster than version 2, and is a lot modular too :) Woot!
Of course everything is still being rendered out into a 128bit DDS file
More later!