3 for X in */*_norm.tga; do
5 wall/metal_wall04_norm.tga)
6 # this one is adjusted manually
10 Y=`echo textures/exomorphx/"${X%_norm.tga}" | sed 's/\\//\\\\\\//g'`
13 echo "?dpoffsetmapping"
15 ../../../../misc/tools/fft-normalmap-to-heightmap-soft.sh "$X" "$X" none 0.017 0
17 convert "$X" -alpha extract "out/`echo "$X" | tr / -`"