AnsweredAssumed Answered

glReadPixels and integer texture FBO

Question asked by purpledog on Dec 18, 2013

Hi,

 

I am having a hard time retrieving on the CPU the content of an integer texture attached to an FBO using glReadPixels. Is such thing possible at all ?

 

The workflow is as follow:

1- render to integer texture

2- glBindFramebufferEXT(GL_READ_FRAMEBUFFER, id);

3- glReadPixels(..., pt);

4- glBindFramebufferEXT(GL_READ_FRAMEBUFFER, 0);

 

thanks.

Outcomes