From fffa344cc0b7d06f1ce5f0d568528b541f882925 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 28 Sep 2010 12:16:24 +0200 Subject: [PATCH] fix a typo in the shader maker conversion --- misc/tools/shadescript/shade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2