I don't know about the ramp shader but you might want to create the atmosphere as a separate geometry and play around with facing ratio and transparency...
BTW, the atmosphere is way to far off the surface of the planet.
Benny
When in doubt, delete history and freeze transformations.
My latest snake game
(Requires DirectX9 SDK and Framework)