Gibby
01-15-2003, 09:54 AM
I have a 16-bit depth PBuffer (two rendering contexts) in a glut program
and after rendering to the PBuffer with a 16-bit float texture I read back into another 16-bit float texture using glCopyTexSubImage2D(), however , the results are unpredictable and make
little sense. I see part of the texture but not the part I rendered to screen. I share textures between contexts and use a shared texture for read back. If I just copy to processor memory
using glReadPixels() everything is fine (the results are as expected). Also, if I use glCopyTexSubImage2D() in the normal glut rendering context it works fine. Any suggestions ?
and after rendering to the PBuffer with a 16-bit float texture I read back into another 16-bit float texture using glCopyTexSubImage2D(), however , the results are unpredictable and make
little sense. I see part of the texture but not the part I rendered to screen. I share textures between contexts and use a shared texture for read back. If I just copy to processor memory
using glReadPixels() everything is fine (the results are as expected). Also, if I use glCopyTexSubImage2D() in the normal glut rendering context it works fine. Any suggestions ?