Depth Map !
I''m using glReadPixels and GL_DEPTH_COMPONENT to import the depth map but i have just a white texture !
My code works well when i use glReadPixels and another format like RGB.
I have a GeForce 4 Ti and i''ve tried width a depth 16bit depth buffer and 24bit but just a blank TEXTURE !!!!
I know that the glClearDepth is a at 1 by default, i''ve tried to change it but without success !
Any idea ???
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement