pjhancoc
03-18-2003, 05:43 AM
Hi,
Im wanting to store the RGB value, in three seperate variables, of the pixel on the screen where the mouse was clicked. Presumably the best way to do this is use glReadPixels. Could anyone give me a couple of lines of code I could use to store the RGB. Thanks.
Im wanting to store the RGB value, in three seperate variables, of the pixel on the screen where the mouse was clicked. Presumably the best way to do this is use glReadPixels. Could anyone give me a couple of lines of code I could use to store the RGB. Thanks.