]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/shader-audit.sh
make the repo pass the audit; move two textures to nexcompat (actually, q3 compat)
[xonotic/xonotic-maps.pk3dir.git] / scripts / shader-audit.sh
index 8076dea9eeee87014ab2e605d9530944bfb019e1..9b5d9d94f7ee707dd14993ba7ecadb1704d756a0 100644 (file)
@@ -165,5 +165,11 @@ textures_avail=`( cd ..; find textures/ -type f -not -name '*_norm.*' -not -name
 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
-       echo "(EE) texture $L is not referenced by any shader"
+       case "$L" in
+               textures/radiant/*)
+                       ;;
+               *)
+                       echo "(EE) texture $L is not referenced by any shader"
+                       ;;
+       esac
 done