projects
/
xonotic
/
xonotic.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5fd3ff0
)
fix a typo in the shader maker conversion
author
Rudolf Polzer <divverent@alientrap.org>
Tue, 28 Sep 2010 10:16:24 +0000
(12:16 +0200)
committer
Rudolf Polzer <divverent@alientrap.org>
Tue, 28 Sep 2010 10:16:24 +0000
(12:16 +0200)
misc/tools/shadescript/shade.sh
patch
|
blob
|
history
diff --git
a/misc/tools/shadescript/shade.sh
b/misc/tools/shadescript/shade.sh
index 175a59788bcdc8454e0eec767f623e26869e8fdc..1f95c425e1035da6737ead97a4b40198aae46d6b 100644
(file)
--- 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`
;;
*metal*)
bounceScale=`echo "$bounceScale + 0.25" | bc -l`
- shaderHead="$shaderHead
surfaceparm metalsteps\n"
+ shaderHead="$shaderHead surfaceparm metalsteps\n"
;;
esac
;;
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
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
fi
if [ -f "$F""_qei.tga" ] || [ -f "$F""_qei.jpg" ] || [ -f "$F""_qei.png" ]; then