Advertisement

Simple (Probably) Lighting Problem

Started by April 11, 2002 02:13 PM
0 comments, last by plates 22 years, 10 months ago
Bascially, I''ve setup my scene to use a single light source, problem is some objects I want to be rendered in full color, no matter where they are in there scene (self illuminating). I''ve tried drawing objects before I enable lighting, but they don''t appear at all, and if I draw them when I disable lighting, they appear as total black. Is there a way you can say ''Don''t apply custom light to this object, just render it in full ambient color'' ? I use glColor3f() to specifiy the color of the object prior to drawing it. Any help appericated
use
glColor3f(0.5f, 0.5f, 0.5f);
or
glColor3f(0.15f, 0.15f, 0.15f);

never
glColor3f(1, 1, 1);
Rodrigo Milbeyer Guessada

This topic is closed to new replies.

Advertisement