diff --git a/engine/gl/r_bishaders.h b/engine/gl/r_bishaders.h index 5690411c..89ff9d76 100644 --- a/engine/gl/r_bishaders.h +++ b/engine/gl/r_bishaders.h @@ -601,10 +601,10 @@ YOU SHOULD NOT EDIT THIS FILE BY HAND "vec4 lightmaps;\n" "#ifdef DELUXE\n" "vec3 norm = texture2D(s_t2, tc).rgb;\n" -"lightmaps = texture2D(s_t1, lm ) * e_lmscale[0] * dot(norm, texture2D(s_t3, lm ));\n" -"lightmaps += texture2D(s_t5, lm2) * e_lmscale[1] * dot(norm, texture2D(s_t8, lm2));\n" -"lightmaps += texture2D(s_t6, lm3) * e_lmscale[2] * dot(norm, texture2D(s_t9, lm3));\n" -"lightmaps += texture2D(s_t7, lm4) * e_lmscale[3] * dot(norm, texture2D(s_t10,lm4));\n" +"lightmaps = texture2D(s_t1, lm ) * e_lmscale[0] * dot(norm, texture2D(s_t3, lm ).rgb);\n" +"lightmaps += texture2D(s_t5, lm2) * e_lmscale[1] * dot(norm, texture2D(s_t8, lm2).rgb);\n" +"lightmaps += texture2D(s_t6, lm3) * e_lmscale[2] * dot(norm, texture2D(s_t9, lm3).rgb);\n" +"lightmaps += texture2D(s_t7, lm4) * e_lmscale[3] * dot(norm, texture2D(s_t10,lm4).rgb);\n" "#else\n" "lightmaps = texture2D(s_t1, lm ) * e_lmscale[0];\n" "lightmaps += texture2D(s_t5, lm2) * e_lmscale[1];\n"