View Full Version : depth buffer info
07-28-2000, 06:17 AM
Does anyone know how to retrieve the depth buffer data from openGL?
Thanks in advance.
07-30-2000, 01:53 PM
You have to use glReadPixels (), with format GL_DEPTH_COMPONENT
07-30-2000, 02:04 PM
Thanks man, I figured it out like 5 minutes after I posted the question. I just hadn't noticed the GL_DEPTH_COMPONENT flag before.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.