summaryrefslogtreecommitdiff
path: root/libs/rs/rsObjectBase.cpp
diff options
context:
space:
mode:
author Martin Storsjo <martin@martin.st> 2009-08-11 18:01:14 +0200
committer Mathias Agopian <mathias@google.com> 2009-08-25 18:35:54 -0700
commitc0dea964913268bd64009e657635e617f3e0c21c (patch)
tree379fdde7e66d3b8ab88348e0b7138f1ab6ed5970 /libs/rs/rsObjectBase.cpp
parent4f31af9346b818c8ef05a63e15e9170a7c6131e4 (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.
Diffstat (limited to 'libs/rs/rsObjectBase.cpp')
0 files changed, 0 insertions, 0 deletions