From: Rudolf Polzer Date: Sat, 3 Sep 2011 14:59:32 +0000 (+0200) Subject: downgrade useless normalmap to a warning (as the engine detects this now and turns... X-Git-Tag: xonotic-v0.5.0~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2428b7fbff6c353cb96bb79511d34b594ad3f42;p=xonotic%2Fxonotic-maps.pk3dir.git downgrade useless normalmap to a warning (as the engine detects this now and turns off offsetmapping) --- diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 75e7e282..cf0beec9 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -95,7 +95,7 @@ use_texture() '') # no dpoffsetmapping keyword getstats "../${2}_norm.tga" || getstats "../${2}_norm.png" || getstats "../${2}_norm.jpg" if [ "$min" -eq "$max" ]; then - echo "(EE) shader $1 uses broken normalmap ${2}_norm.tga (add dpoffsetmapping none)"; seterror + echo "(WW) shader $1 uses broken normalmap ${2}_norm.tga (add dpoffsetmapping none)" else echo "(EE) shader $1 uses ${2}_norm.tga but lacks median (add dpoffsetmapping - 1 match8 $median)"; seterror fi @@ -347,6 +347,7 @@ parse_shaderstage() fi ;; *) + # alphagen is set, but blendfunc has no use for it echo "(EE) $parsing_shader uses alpha-using texture $ss_map with blendfunc $ss_blendfunc and alphafunc $ss_alphafunc and alphagen $ss_alphagen"; seterror ;; esac