]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
better output
authorRudolf Polzer <divverent@xonotic.org>
Thu, 1 Sep 2011 19:04:43 +0000 (21:04 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 1 Sep 2011 19:04:43 +0000 (21:04 +0200)
scripts/shader-audit.sh

index 3f0fb83b9e7c2ce6fbd9eecea1c3aca68ed12934..4c318dc42456bd1e489055a42e10351b4e1c5775 100755 (executable)
@@ -91,7 +91,7 @@ use_texture()
                                                if [ "$min" -eq "$max" ]; then
                                                        echo "(EE) shader $1 uses broken normalmap ${2}_norm.tga (add dpoffsetmapping none)"; seterror
                                                else
                                                if [ "$min" -eq "$max" ]; then
                                                        echo "(EE) shader $1 uses broken normalmap ${2}_norm.tga (add dpoffsetmapping none)"; seterror
                                                else
-                                                       echo "(EE) shader $1 uses ${2}_norm.tga but lacks median (add dpoffsetmapping with: match8 $median)"; seterror
+                                                       echo "(EE) shader $1 uses ${2}_norm.tga but lacks median (add dpoffsetmapping - 1 match8 $median)"; seterror
                                                fi
                                                ;;
                                        none) # offsetmapping turned off explicitly
                                                fi
                                                ;;
                                        none) # offsetmapping turned off explicitly