From 5771dd98c7ab75acf5989143142c6352f5b22474 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Mon, 27 Jan 2014 22:07:11 +0100 Subject: [PATCH] Fix typo --- data/shaders/object_pass1.frag | 2 +- data/shaders/objectref_pass1.frag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/shaders/object_pass1.frag b/data/shaders/object_pass1.frag index 33712bf5d..7ba4213e1 100644 --- a/data/shaders/object_pass1.frag +++ b/data/shaders/object_pass1.frag @@ -4,5 +4,5 @@ out vec3 Normal; void main(void) { - Normal = 0.5 * normalize(nor) + 0.5, gl_FragCoord.z; + Normal = 0.5 * normalize(nor) + 0.5; } diff --git a/data/shaders/objectref_pass1.frag b/data/shaders/objectref_pass1.frag index c3e0bfb58..68d387006 100644 --- a/data/shaders/objectref_pass1.frag +++ b/data/shaders/objectref_pass1.frag @@ -9,6 +9,6 @@ void main() { vec4 col = texture(tex, uv); if (col.a < 0.5) discard; - Normal = 0.5 * normalize(nor) + 0.5, gl_FragCoord.z; + Normal = 0.5 * normalize(nor) + 0.5; }