PDA

View Full Version : Pixel Color



Balu
11-25-2003, 05:55 AM
I am displaying the .PNG image in the rendering context. I want to pick the color value of the pixel at the point where i click the mouse. If the pixel contains transparent value what ho wto obtain the alpha channel for that pixel?

fuxiulian
11-26-2003, 02:23 AM
Use glReadPixels