Kenneth Gorking said:
I doubt there is any need to do it in a fragment shader, since there are no abrubt detail changes across the hemisphere, with the exception of the sun of course. If youre sphere is tesselated enough, people will never know the difference. The only thing I do in my fragment shader is the Rayleigh and Heneye-Greenstein phase functions to get the sun-details, and it looks just fine :)
I guess you are right, fine enough tessellation should work well enough. Done on the CPU, per vertex coloring is not very fast, and not very pretty either. Artifacts, in my experience, are either seen at the edges of the planet, or at the shadow, unless tessellation is really high.
By the way: so far, I only apply Rayleigh scattering, Does applying Mie scattering additively work well, or is it more complex?