X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Ftools%2Fnormalmap.sh;h=49b32200c8e4099ac4560178c1f2891e0cc04f5e;hp=08ca0fae071d882f6b3590e8521e2594f6b9ba19;hb=33b9faedac2e533cc40cd742bc91109b70e11041;hpb=79741c1f709a2e9e7a31a410716af643822d8930 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 - <