summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2009-08-11 18:01:14 +0200
committerMartin Storsjo <martin@martin.st>2009-08-11 18:01:14 +0200
commit79ad0e6623998ca2006aa0c17f902340132c3e1c (patch)
treec1406618051242f89465a68930f117eee56aaf34 /opengl/tests/gl_basic/gl_basic.cpp
parentbae0f8e729866610b876372477753c8b458644f5 (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 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions