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
committerMathias Agopian <mathias@google.com>2009-08-25 18:35:54 -0700
commite03eaa1551a644e9a13c327d16cc09bfd7649d78 (patch)
treeb38dd00e41613f1a80e22d6e403d21b7d6fec136 /opengl/tests/gl_basic/gl_basic.cpp
parentd914215edf600f811f7ad8cad2eab9049cf859a4 (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