diff --git a/engine/shaders/glsl/defaultskin.glsl b/engine/shaders/glsl/defaultskin.glsl index c927c0c61..0486e50b1 100644 --- a/engine/shaders/glsl/defaultskin.glsl +++ b/engine/shaders/glsl/defaultskin.glsl @@ -83,7 +83,7 @@ void main () vec4 col, sp; #ifdef OFFSETMAPPING - vec2 tcoffsetmap = offsetmap(s_t4, tcbase, eyevector); + vec2 tcoffsetmap = offsetmap(s_t4, tc, eyevector); #define tc tcoffsetmap #endif