From 33b9faedac2e533cc40cd742bc91109b70e11041 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 20 Aug 2010 17:52:39 +0200 Subject: [PATCH] fix generated alpha channel --- misc/tools/normalmap.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 - <