"Flark" <flarkino@[EMAIL PROTECTED]
> wrote in message
news:67920840-dbb2-49a4-95f9-112425a2f8cd@[EMAIL PROTECTED]
Aug 19, 6:07 pm, fungus <openglMYSO...@[EMAIL PROTECTED]
> wrote:
> Not enough info there. What values are you passing?
I take the 32 bit RGB value, chop it into 3 bytes for R, G, & B,
and pass those. Not good?
No. It wants a full signed int for each or r,g,b. For 32bit RGBA use
unsigned byte format.
use glclolor to set the material color after calling glMaterialColor().
JBW


|