rlopez3d
01-29-2001, 09:44 AM
I need to get depth buffer values for all the pixels in the viewport but glReadPixels(0,0,w,h,GL_DEPTH_COMPONENT,GL_FLOAT,m yBuffer); is too slow.
Is there any trick to do it in a faster way?
Is there any trick to do it in a faster way?