Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAshaman73

Posted 04 February 2013 - 04:48 AM

I tried glReadPixels(...), but the returnvalues are pretty strange

Can you describe what pretty strange means ?

I use glReadPixels to do picking. You should ensure, that you pick the right buffer (front/back) and this only after the rendering has been finished (e.g. pick from front buffer buffer has been swapped).


#1Ashaman73

Posted 04 February 2013 - 04:46 AM

I tried glReadPixels(...), but the returnvalues are pretty strange

Can you describe what pretty strange means ?

I use glReadPixels to do picking. You should ensure, that you pick the backbuffer and this only after the rendering has been finished (e.g. buffer has been swapped).


PARTNERS