PDA

View Full Version : One framebuffer multiple textures



Tiberiu
05-17-2010, 01:29 PM
Hello, I have one framebuffer with multiple textures. How can I copy the data from one texture to another, inside the framebuffer? Am I copying inside the GPU so it is fast or I have to use the CPU? Thanks!

overlay
05-17-2010, 03:51 PM
With glCopyTexImage()/glCopyTexSubImage() you can copy from a colorbuffer of the framebuffer to a texture.