summaryrefslogtreecommitdiff
path: root/src/renderergl2/glsl/generic_vp.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/glsl/generic_vp.glsl')
-rw-r--r--src/renderergl2/glsl/generic_vp.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderergl2/glsl/generic_vp.glsl b/src/renderergl2/glsl/generic_vp.glsl
index 8543ffd7..859b4363 100644
--- a/src/renderergl2/glsl/generic_vp.glsl
+++ b/src/renderergl2/glsl/generic_vp.glsl
@@ -207,10 +207,9 @@ void main()
#if defined(USE_VERTEX_ANIMATION)
vec3 position = mix(attr_Position, attr_Position2, u_VertexLerp);
vec3 normal = mix(attr_Normal, attr_Normal2, u_VertexLerp);
- normal = normalize(normal - vec3(0.5));
#else
vec3 position = attr_Position;
- vec3 normal = attr_Normal * 2.0 - vec3(1.0);
+ vec3 normal = attr_Normal;
#endif
#if defined(USE_DEFORM_VERTEXES)