[Plib-users] Please help
Brought to you by:
sjbaker
From: Tengchiang T. <ten...@ya...> - 2001-12-04 03:17:10
|
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 |