0 Replies Latest reply on Dec 18, 2013 9:37 AM by purpledog

    glReadPixels and integer texture FBO

    purpledog

      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.