cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

purpledog
Journeyman III

glReadPixels and integer texture FBO

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.

0 Likes
0 Replies