diff options
author | SmileTheory <SmileTheory@gmail.com> | 2014-10-28 18:15:13 -0700 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-03-17 11:38:54 +0000 |
commit | 84b5e7369297a22b33012c67d7b757aab638e92e (patch) | |
tree | 13d17a875c1a2a629caf3bb9903013c7790578f2 /src/renderergl2/glsl/dlight_vp.glsl | |
parent | 017c37b3402dafd82e8e6c694174e9926c7ce683 (diff) |
OpenGL2: Change normal/tangent vertex encoding.
Diffstat (limited to 'src/renderergl2/glsl/dlight_vp.glsl')
-rw-r--r-- | src/renderergl2/glsl/dlight_vp.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/glsl/dlight_vp.glsl b/src/renderergl2/glsl/dlight_vp.glsl index 9566a04c..c326bd78 100644 --- a/src/renderergl2/glsl/dlight_vp.glsl +++ b/src/renderergl2/glsl/dlight_vp.glsl @@ -74,7 +74,7 @@ vec3 DeformPosition(const vec3 pos, const vec3 normal, const vec2 st) void main() { vec3 position = attr_Position; - vec3 normal = attr_Normal * 2.0 - vec3(1.0); + vec3 normal = attr_Normal; #if defined(USE_DEFORM_VERTEXES) position = DeformPosition(position, normal, attr_TexCoord0.st); |