Ok, nevermind. I decided to go with the TGLAtmosphere class from GLScene and here's the result (no optimizations yet).
.