PDA

View Full Version : lightening



karteek
03-23-2003, 06:44 PM
How do I create a light source in OpenGl?

i.e. I want to put a light in my room design which lights on when I press a key.How can I get that effect?

Pops
03-23-2003, 07:04 PM
Try playing around with EMMISION material property.
You could create a quadratic sphere with normal properties which uses EMMISION when you press the key.