From: Rudolf Polzer Date: Wed, 17 Mar 2021 21:19:23 +0000 (-0700) Subject: Try to not dither normalmaps, but instead dither colormaps with higher quality. X-Git-Tag: xonotic-v0.8.5~72 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=77974fa25f6bfa072bc97f8dfba615396db71b0b;p=xonotic%2Fxonotic.git Try to not dither normalmaps, but instead dither colormaps with higher quality. --- diff --git a/misc/tools/cached-converter.sh b/misc/tools/cached-converter.sh index 2e4ede77..9fbdf240 100755 --- a/misc/tools/cached-converter.sh +++ b/misc/tools/cached-converter.sh @@ -402,16 +402,19 @@ for F in "$@"; do export S2TC_COLORDIST_MODE=NORMALMAP export S2TC_RANDOM_COLORS=256 export S2TC_REFINE_COLORS=LOOP + export S2TC_DITHER_MODE=NONE ;; *_norm) export S2TC_COLORDIST_MODE=NORMALMAP export S2TC_RANDOM_COLORS=256 export S2TC_REFINE_COLORS=LOOP + export S2TC_DITHER_MODE=NONE ;; *) export S2TC_COLORDIST_MODE=SRGB_MIXED export S2TC_RANDOM_COLORS=64 export S2TC_REFINE_COLORS=LOOP + export S2TC_DITHER_MODE=FLOYDSTEINBERG ;; esac