commit | 79ad0e6623998ca2006aa0c17f902340132c3e1c | [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 | c1406618051242f89465a68930f117eee56aaf34 | |
parent | bae0f8e729866610b876372477753c8b458644f5 [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.