From: Rudolf Polzer Date: Fri, 20 Aug 2010 04:18:25 +0000 (+0200) Subject: Revert "also allow _bump", because DDS-converted _bump will not work, we NEED _norm X-Git-Tag: xonotic-v0.1.0preview~151^2~39 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=10c8dae;p=xonotic%2Fxonotic-maps.pk3dir.git Revert "also allow _bump", because DDS-converted _bump will not work, we NEED _norm This reverts commit a2e171dbec4303eb20a814dce168b44ed4280cb8. --- diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 250e7d3a..83aba6b9 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -293,7 +293,7 @@ for X in *.shader; do done rm -f "$t" -textures_avail=`( cd ..; find textures/ -type f -not -name '*_norm.*' -not -name '*_glow.*' -not -name '*_gloss.*' -not -name '*_reflect.*' -not -name '*_bump.*' -not -name '*.xcf' ) | while IFS= read -r T; do normalize "$T"; done | sort -u` +textures_avail=`( cd ..; find textures/ -type f -not -name '*_norm.*' -not -name '*_glow.*' -not -name '*_gloss.*' -not -name '*_reflect.*' -not -name '*.xcf' ) | while IFS= read -r T; do normalize "$T"; done | sort -u` textures_used=`echo "${textures_used#$LF}" | sort -u` echo "$textures_used$LF$textures_used$LF$textures_avail" | sort | uniq -u | while IFS= read -r L; do