Originally posted by Jan2000:
[b]mikeman: Maybe you should post your code. There is nothing left, i could think of.
However, it is absolutely logical, that you have to normalize the view and light-vector. Take a piece of paper and draw it. It will become very clear, why the one will result in defined (and consistant) behaviour and the other one not.
Because if the view or light-vector have diferent lengths (which happens when the viewer moves, or the light), the half-vector will change, although it shouldn´t, because only the DIRECTION matters, not the length. After a normalization it is always correct.
Jan.[/b]
I just realized that the specular highlights of 2) will increase in size when moving away from the light source and decreasing when moving towards it which is not what we want, right? (noone seen this other post? hehe)