From: Rudolf Polzer Date: Fri, 20 Aug 2010 15:52:39 +0000 (+0200) Subject: fix generated alpha channel X-Git-Tag: xonotic-v0.1.0preview~287 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=33b9faedac2e533cc40cd742bc91109b70e11041;ds=sidebyside fix generated alpha channel --- diff --git a/misc/tools/normalmap.sh b/misc/tools/normalmap.sh index 08ca0fae..49b32200 100755 --- a/misc/tools/normalmap.sh +++ b/misc/tools/normalmap.sh @@ -2,6 +2,7 @@ # usage: ./bump2norm.sh foo_bump.tga foo_norm.tga # NOTE: unfortunately requires X-server (otherwise file-tga-save won't work... no joke) +# also, alpha channel value 0 is avoided as gimp doesn't save it properly in=$1 out=$2 @@ -29,9 +30,14 @@ gimp -i -b - <