wh1sp3r Posted April 10, 2010 Share Posted April 10, 2010 I have problem with Reading pixels from PBO. This is a example project. You have to set a abstract path to your SDK. If you run it, you will see a skybox and white-black small images. This images should be on position, where green colour is bigger than 240, but ... looks like, It's flipped and buffer is repeating three, four times ... why ? Thank you for help Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
wh1sp3r Posted April 11, 2010 Author Share Posted April 11, 2010 i made few changes and It's not PBO problem. It's glReadPixels command problem. if i use it without any PBO, it returns wrong colours. Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.