This is just me assuming based on the documentation link I sent you... but wouldn't: glReadPixelsb(x, y, 1, 1, GL_RGB)
return you a 3 tuple of Red, Green Blue? ... one other note, doing this as a way of doing mouse hit detection is possibly a bad idea - some older video cards don't actually do 32 bit color (for performance reasons) so you can get some color banding (i.e. the color in the frame buffer can be different than what you wrote). Meaning it will likely work fine on most computers, but not work on all On 8/2/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > Yes, that's what I'm trying now ( > http://www.gamedev.net/community/forums/topic.asp?topic_id=458364) >
