Search found 4 matches

by nmrugg
2020-02-25T23:52:09-07:00
Forum: Users
Topic: Combine Normal Maps
Replies: 6
Views: 1880

Re: Combine Normal Maps

Cool. Thanks. I didn't know about that.

The image that produces is not quite right, however. It's very green. I haven't had time to investigate what's wrong.
by nmrugg
2020-02-25T20:23:15-07:00
Forum: Users
Topic: Combine Normal Maps
Replies: 6
Views: 1880

Re: Combine Normal Maps

Thanks! That worked! I think I got it all working now. Here's the bash script I came up with: IN1=$1 IN2=$2 OUT=${3:-'merged.png'} TEMP_DIR=$(mktemp -d) convert "$IN2" -channel B +level 0,0 -channel R -level 50%,100% +level 50%,100% -channel G -level 50%,100% +level 50%,100% $TEMP_DIR/add1.miff conv...
by nmrugg
2020-02-25T15:47:18-07:00
Forum: Users
Topic: Combine Normal Maps
Replies: 6
Views: 1880

Re: Combine Normal Maps

I figured out the first two steps convert "$IN" -channel B +level 0,0 -channel R -level 50%,100% +level 50%,100% -channel G -level 50%,100% +level 50%,100% add1.png convert "$IN" -channel R -level 0%,50% +level 0%,50% -channel G -level 0%,50% +level 0%,50% sub1.png What I can't figure out is the the...
by nmrugg
2020-02-25T00:11:36-07:00
Forum: Users
Topic: Combine Normal Maps
Replies: 6
Views: 1880

Combine Normal Maps

Does anyone know how to combine normal maps in ImageMagick? I found some tutorials showing how to do it in Photoshop, but I can't figure out how to do it with ImageMagick. https://www.moddb.com/tutorials/photoshop-combining-normal-maps https://www.youtube.com/watch?v=t8jvroWSCBU Any help would be ap...