I've got a problem with my first simple solar system program. I made an Earth using gluSphere(quadratic,0.2f,32,32); and an atmosphere using gluSphere(quadratic,0.22f,32,32); The atmosphere is blended with glBlendFunc(GL_SRC_ALPHA,GL_ONE); The Earth and atmosphere are at the same position. It looks like this:

The clouds are not blended correctly. Without the Earth you can see what I mean:

With glDisable(GL_DEPTH_TEST); I don't get the right effect:

And with glDepthMask(GL_FALSE); I get another strange effect:

Did I something wrong or used the wrong method? How can I make an Earth with atmosphere without strange black lines? Thanks for your help! (Sorry for my bad English)
[Edited by - Robbbert on November 8, 2004 12:15:59 PM]