View Full Version : An Alpha Light
03-21-2007, 01: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!
03-21-2007, 02: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)
03-21-2007, 04:43 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.