projects
/
xonotic
/
xonotic-maps.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2151922
)
shader audit: another fix
author
Rudolf Polzer <divverent@alientrap.org>
Tue, 13 Sep 2011 11:19:39 +0000
(13:19 +0200)
committer
Rudolf Polzer <divverent@alientrap.org>
Tue, 13 Sep 2011 11:19:39 +0000
(13:19 +0200)
scripts/shader-audit.sh
patch
|
blob
|
history
diff --git
a/scripts/shader-audit.sh
b/scripts/shader-audit.sh
index ccb5f64bb4257005e36539537c61ef74a320f93c..587d14a7a4ece2f7ecaaa6dfd4fdf8db0f3f7f20 100755
(executable)
--- a/
scripts/shader-audit.sh
+++ b/
scripts/shader-audit.sh
@@
-105,7
+105,7
@@
use_texture()
default) # offsetmapping keyword without bias
getstats "../${2}_norm.tga"
if [ "$min" -eq "$max" ]; then
- echo "(
EE
) shader $1 uses broken normalmap ${2}_norm.tga, maybe use dpoffsetmapping none?"; seterror
+ echo "(
WW
) shader $1 uses broken normalmap ${2}_norm.tga, maybe use dpoffsetmapping none?"; seterror
else
echo "(EE) shader $1 uses ${2}_norm.tga but lacks median (add to dpoffsetmapping: match8 $median)"; seterror
fi