PDA

View Full Version : GlReadPixels Selectively



Nabil Mustafa
08-25-2000, 11:07 AM
Hi,

Is there any way, when I specify a rectangle to read from the color buffer in glReadPixels, to also specify that only return me the pixel values that are greater than a certain value, i.e. do a glReadPixel on the whole color buffer, but only return me the pixels where the color is not black (RGB value = 0) ?

Thanks,

-Nabil.