OSDN Git Service

fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug)
authorMathias Agopian <mathias@google.com>
Wed, 3 Feb 2010 02:48:15 +0000 (18:48 -0800)
committerMathias Agopian <mathias@google.com>
Wed, 3 Feb 2010 20:13:15 +0000 (12:13 -0800)
commite304bdd5ee5ed0b0d37fe388021c9cd138feda7f
tree4253c134c46166a9fd963adbdbe97a103f83b7dc
parentecf04ec19a1a72af7e38938fbad88d43934e3e7d
fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug)

A typo caused GL_AMBIENT_AND_DIFFUSE to only set the the ambient color.

Fix another typo which caused the viewer position to be wrong for
specular highlights.

Switch back to eye-space lighting, since there are still some issues
with some demos (San Angeles in particular).
include/private/opengles/gl_context.h
opengl/libagl/light.cpp
opengl/libagl/light.h
opengl/libagl/matrix.cpp