From 9fa700f2a2bbad678710bf88dd83aade5ab2bb64 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 13 Jan 2008 08:53:29 +0000 Subject: [PATCH] fix typo that broke rtlights on vertex texture blend materials git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7954 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 9a4b48ae..6d36bde9 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -767,7 +767,7 @@ static const char *builtinshaderstring = "#ifdef USEDIFFUSE\n" " // get the surface normal and the gloss color\n" "# ifdef USEVERTEXTEXTUREBLEND\n" -" myhalf3 surfacenormal = normalize(mix(myhalf3(texture2D(Texture_SecondaryNormal, TexCoord)), myhalf3(texture2D(Texture_Normal, TexCoord)), terrainblend)) - myhalf3(0.5));\n" +" myhalf3 surfacenormal = normalize(mix(myhalf3(texture2D(Texture_SecondaryNormal, TexCoord)), myhalf3(texture2D(Texture_Normal, TexCoord)), terrainblend) - myhalf3(0.5));\n" "# ifdef USESPECULAR\n" " myhalf3 glosscolor = mix(myhalf3(texture2D(Texture_SecondaryGloss, TexCoord), myhalf3(texture2D(Texture_Gloss, TexCoord)), TexCoord), terrainblend);\n" "# endif\n" -- 2.39.2