PDA

View Full Version : no position light



tbjerman
01-02-2002, 09:52 PM
i want to create lighting with no light source , so that every surface of the 3d model are iluminated . can i use gllightfv(GL_LIGHT0 , GL_AMBIENT , ambient);
gllightfv(GL_LIGHT0,......)
???

Bob
01-03-2002, 02:56 AM
Setting the ambient light will illuminate the object from all directions. Just set the ambient color to something fancy, and set diffuse and specular to black.