PDA

View Full Version : Photoshop to glcolor4f



mikethebike
12-21-2011, 04:06 AM
Hi
how to translate Gimp/Photoshop rgb colors for use with glcolor4f? Simply divide by 255?
Thanks
Michael

ZbuffeR
12-21-2011, 04:59 AM
yes.
or use directly your existing values in glColor3ub();