Hi gurus,
I am new to plib. One little question, please help.
I am writing ssgLoadBGL.cxx, I test it on PPE.
Everything looks fine except my textures got tinted to
gray. If I try to render the same object in FGFS, they
got tinted to green.
Half year ago, Curtis told me I need to explictly
set the underlying color, otherwise my textures will
be biased. But how do I do this?
I tried state->setMaterial(GL_DIFFUSE, 1.0f, 1.0f,
1.0f, 1.0f) and also tried glClearColor(1.0f, 1.0f,
1.0f, 1.0f), but they are not helping.
Thanks a lot.
Tengchiang Tsao
__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
|