-
Drawing Problem
Hi,
I've got a problem, i've made a simple program to draw a height map. it's working well but i don't know why, i can view thought the montains of the map in some camera directions.
It seem that the montains draw after are display in front of the montains before.. it's very strange.. how can i fix this problem ?
Thanks a lot
-
Advanced Member
Frequent Contributor
Re: Drawing Problem
sounds like you don't have depth testing enabled.
add this before your render:
glEnable(GL_DEPTH_TEST);
if that doesn't do it, could you post a screen shot?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules