PDA

View Full Version : An Alpha Light



Rodrix
03-21-2007, 12:57 AM
What is the point of the Alpha component on the Ambient, Specular, and Diffuse components of glLightfv()?

Does it make my objects more transparent when light on??!! :rolleyes:

Thanks so much in advance!
Cheesr!
Rod

Jon723
03-21-2007, 01:17 PM
Just like the alpha term for a color when using glColor4* it determines the "hardness" of the color for the light. Object transparency for the light is dependent on the material properties for the object.

(This is an off the top of my head explanation, please correct me if I'm wrong)

Rodrix
03-21-2007, 03:43 PM
Thanks!!! :)