Jump to content
  • Advertisement
Sign in to follow this  
meestrey

Read data from FBO

This topic is 4784 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm rendering to a (floating point) framebuffer object and I would like to read back the pixel data to the CPU. I'm currently using glreadpixels but it's taking about 1 second for a 512X512 image! This can't be right.

Share this post


Link to post
Share on other sites
Advertisement
glReadPixels is slow, but should not be that slow. Make sure you are using a good color format BGRAF or something similar as those can be faster (test with some different formats and see if it improves performance). On NVidia hardware you can also look at the PBO extension for asynchroneous readbacks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!