commit | b94878cfb695296afb30456b5bdd5927951a66ed | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Tue Aug 11 18:01:14 2009 +0200 |
committer | Martin Storsjo <martin@martin.st> | Tue Aug 11 18:01:14 2009 +0200 |
tree | 369c335621ff89c5c70389c5183b933244051c6e | |
parent | e0c54121b0036117079e5e2b28a913a34d5053ab [diff] |
Calculate specular lighting correctly Since the lighting calculations are done in object space, the vector from the object to the viewer also needs to be transformed to object space.