View Full Version : depth buffer info
07-28-2000, 07:17 AM
Does anyone know how to retrieve the depth buffer data from openGL?
Thanks in advance.
07-30-2000, 02:53 PM
You have to use glReadPixels (), with format GL_DEPTH_COMPONENT
07-30-2000, 03: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.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.