From 84b5e7369297a22b33012c67d7b757aab638e92e Mon Sep 17 00:00:00 2001 From: SmileTheory Date: Tue, 28 Oct 2014 18:15:13 -0700 Subject: OpenGL2: Change normal/tangent vertex encoding. --- src/renderergl2/glsl/dlight_vp.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderergl2/glsl/dlight_vp.glsl') 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); -- cgit