Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

glReadPixels and integer texture FBO

$
0
0

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.


Viewing all articles
Browse latest Browse all 631

Trending Articles