From: Rudolf Polzer Date: Tue, 28 Sep 2010 10:16:24 +0000 (+0200) Subject: fix a typo in the shader maker conversion X-Git-Tag: xonotic-v0.1.0preview~184 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=fffa344cc0b7d06f1ce5f0d568528b541f882925;ds=sidebyside fix a typo in the shader maker conversion --- diff --git a/misc/tools/shadescript/shade.sh b/misc/tools/shadescript/shade.sh index 175a5978..1f95c425 100644 --- a/misc/tools/shadescript/shade.sh +++ b/misc/tools/shadescript/shade.sh @@ -60,7 +60,7 @@ find "textures/$1" -type f -path "textures/*/*/*.*" -not -name '*_norm.*' -not - ;; *metal*) bounceScale=`echo "$bounceScale + 0.25" | bc -l` - shaderHead="$shaderHead surfaceparm metalsteps\n" + shaderHead="$shaderHead surfaceparm metalsteps\n" ;; esac @@ -88,7 +88,7 @@ find "textures/$1" -type f -path "textures/*/*/*.*" -not -name '*_norm.*' -not - shaderDiffuse="$F" if [ -f "$F""_gloss.tga" ] || [ -f "$F""_gloss.jpg" ] || [ -f "$F""_gloss.png" ]; then - bounceScale=`echo "$bounceScale - 0.25" | bc -l` + bounceScale=`echo "$bounceScale + 0.25" | bc -l` fi if [ -f "$F""_qei.tga" ] || [ -f "$F""_qei.jpg" ] || [ -f "$F""_qei.png" ]; then