mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 11:24:56 +00:00
fix a typo in the shader maker conversion
This commit is contained in:
parent
5fd3ff07b2
commit
fffa344cc0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user