PDA

View Full Version : Getting content of color buffer?



taytay
02-15-2009, 11:02 AM
Are there any way to do this? Can i transfer color buffer to an array?

Or are there any way to get color value of a specific pixel?

Thanks

ZbuffeR
02-15-2009, 11:13 AM
glReadPixels reads a block of pixels from framebuffer (http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml)

taytay
02-15-2009, 11:48 AM
thanks