commit | 4e3d2484c96508d5dea5296f41de4e46612fb7c4 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Tue Aug 11 18:01:14 2009 +0200 |
committer | Mathias Agopian <mathias@google.com> | Tue Aug 25 18:35:54 2009 -0700 |
tree | 5c50eea4ad21647b7663d33199473794429f493c | |
parent | 1beb760d920561679862ded945a04e370368c7f7 [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.