a textured object passes through another

Started by influt, November 14, 2008, 03:11:34 PM

Previous topic - Next topic

influt

Hello.

Excuse me, if the same question has been already asked, but i haven't found it here.
I've got two objects: one is semi-transparent, another one is not. When standing near to those objects, everything looks ok:


but when stepping back, the one that has to be behind, passes through the nearer one:


changing glZBufferDepth in Config didn't make any effect. So how can i avoid this?
Thank you.

EgonOlsen

That's z-fighting (http://en.wikipedia.org/wiki/Z-fighting). Either try to increase the offset between the transparent and the opaque objects or eliminate/minimize the overlapping of both. You may also try to play around with near and far clipping plane (in Config), but from my experience this usually doesn't help much.