Hi all,
I'm trying to enable blending to make sphere transparent.
But when I enable it, the effect below occurred.
http://s8.postimage.org/enh1i4rp1/Untitled.png
The dividing line appears even if I use lighting. (Currently I just use glColor and disabled lighting.)
Does anyone know the reason? Thanks.

Here are some related code:
One of the spheres which rotating around center:

http://s15.postimage.org/x5op53yt7/Untitled2.png
This is the effect of two gluDisk get intersected. I think they got the same problem.
I tried to enable and disable lighting, depth buffer and culling, but nothing changed.

Seishin

08-31-2012, 11:11 AM

Has anyone met this kind of problem before?

V-man

09-01-2012, 06:00 AM

Search for z-fighting.
You can aleviate it a bit by setting glDepthFunc(GL_LEQUAL).