From: Gerrit V. <vo...@vo...> - 2010-08-31 16:16:25
|
Hi, On Tue, 2010-08-31 at 09:49 -0500, Carsten Neumann wrote: > Hello Constantin, > > hm, apparently one does not pass anything to glReadBuffer (i.e. I > suppose GL_NONE is the right value) - I have to admit that this makes > little sense to me and I don't understand how the following > glReadPixels() is supposed to know that it should read from the combined > depth/stencil buffer because you pass GL_DEPTH_STENCIL_EXT/GL_DEPTH_COMPONENT to glReadPixels and for this you only have one binding point inside the FBO unlike the ColorBuffers where you have many and thus have to select one with glReadBuffer. Why it does not ignore what is set in glReadBuffer I don't know. kind regards gerrit |