Is this normal?
Hi, i've just came across a strange ogl problem... glColor3b(255, 255, 255); dosent seem to work, i have to use glColor3f(1.0f, 1.0f, 1.0f); instead...
glColor3b() seem to have no effect with any value...
Any idea???
Try
My guess is:
ub = unsigned byte, values from 0 to 255
b = byte, values from -127 to 127
glColor3ub(255, 255, 255)
instead.My guess is:
ub = unsigned byte, values from 0 to 255
b = byte, values from -127 to 127
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement