From 8d81ed4a498803fb18561a99f626243a54cb81a3 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 8 Feb 2015 01:02:27 +0000 Subject: [PATCH] missed a spot. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4839 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/r_bishaders.h | 2 +- engine/shaders/glsl/defaultwall.glsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/gl/r_bishaders.h b/engine/gl/r_bishaders.h index 20eca636e..78ca6d692 100644 --- a/engine/gl/r_bishaders.h +++ b/engine/gl/r_bishaders.h @@ -1202,7 +1202,7 @@ YOU SHOULD NOT EDIT THIS FILE BY HAND "vec4 specs = texture2D(s_specular, tc);\n" "#ifdef DELUXE\n" //not lightstyled... -"vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm).rgb-0.5)); //this norm should be the deluxemap info instead\n" +"vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm0).rgb-0.5)); //this norm should be the deluxemap info instead\n" "#else\n" "vec3 halfdir = normalize(normalize(eyevector) + vec3(0.0, 0.0, 1.0)); //this norm should be the deluxemap info instead\n" "#endif\n" diff --git a/engine/shaders/glsl/defaultwall.glsl b/engine/shaders/glsl/defaultwall.glsl index 5f995a6d4..16d9804da 100644 --- a/engine/shaders/glsl/defaultwall.glsl +++ b/engine/shaders/glsl/defaultwall.glsl @@ -164,7 +164,7 @@ void main () vec4 specs = texture2D(s_specular, tc); #ifdef DELUXE //not lightstyled... - vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm).rgb-0.5)); //this norm should be the deluxemap info instead + vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm0).rgb-0.5)); //this norm should be the deluxemap info instead #else vec3 halfdir = normalize(normalize(eyevector) + vec3(0.0, 0.0, 1.0)); //this norm should be the deluxemap info instead #endif