specular light


Do you need ambient and diffuse or one of them to have specular light. I set up a menu to toggle between the lights to see differant effects but when i enable specular the lights go out. ambient and diffuse work by themselves.

You must have some kind of an error in your code (ambient, diffuse and specular work separately !).

Could you post you lights initialization code here so that we can have a look at the problem ?



remember to set the material shininess with a call to something like

the default is 0, wich is the worst value SGI have chosen

also be careful if you’re scaling your object: try to enable normalization with