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



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to