Wierd culling problem

Started by
1 comment, last by cppcdr 15 years, 10 months ago
Hi, i've started working on the terrain rendering part of my code base and have found a wierd error. When the terrain is looked at in the positive Z axis (camera looking at +Z), the terrain seems to be half transparent: Wierd culling problem The next shot shows the terrain looking from the other side (camera looking at -Z), the terrain is fine. Wierd culling problem Now, the most wierd part of this is that when i look at the +X axis, the terrain renders fine on one half, and bizarrely on the other! Wierd culling problem I have disabled culling and the results are the same. Even in wireframe, the same thing happens. Can anyone tell me what this problem is coming from? I'm really stuck atm.
Advertisement
Are you not writing to the depth buffer? Are you not testing against the depth buffer when rendering?
Omg! I feel like a total fool :) I forgot to set the depth buffer.

Thanks for your help.

This topic is closed to new replies.

Advertisement