Combine two normal maps and control the strength of each

I use this node setup to combine my two normal maps.

I adapted this method from here.

How to Combine two Normal Maps?

It works perfectly to just combine the maps. But now i need individual contol over the strength each of them.

Is there a way to do this ?

If you want to adjust each map individually instead of against each other like in the other answer you need to default to straight normal that is (0.5, 0.5, 1). That means with values you need to find difference to 0.5 and multiply it with your weight before adding it back to the 0.5 for each R and G channel.

(the weight field of normal map is placed under the respectful image node)

Another option is to mix the colors, again mixing both with the straight normal color (0.5, 0.5, 1) individually with adjustable factors.

Both methods should do the trick but in the color example the input values' magnitude is halved because of the way the colors are combined.

• Thank You :)) This works perfectly when i use the Texture with Non-color-Data
– Jens
Feb 14, 2018 at 13:36

A more precise result can be found using these formulas... Here's an adaptation of it including a Factor value for mixing:

some more details can be found in this thread in BA

And the nodegroup can be found here.

• "More precise" than what? May 10, 2019 at 10:57

I' not sure this solves your problem, but do you see that in the Normal Map node on the right of the image there's the strength bar? I would try to use two of them, one for each normal map and then do the whole setup to combine them.

See the image below for reference. Keep in mind that this setup I made is not the correct one, I just made it really quickly as an example of what I was thinking about, you probably need to "combine" it with your solution, just apply a Normal Map node for each normal map you want to control the strength of.

• no the two sliders dont help they one change the overall colorshift.
– Jens
Feb 14, 2018 at 12:45
• I think this is close to a solution but needs a Normalize node after the Mix to ensure the result is a properly formed normal (with magnitude of 1.0). However, rather than using the Strength to adjust the balance between the normals you should be adjusting the Factor of the Mix node - 0.5 will be an even mix between the two, 0.25 will have the first one 3 times more prevelant than the second one (ie, 0.25 / 0.75 = 1/3... or, more generally, “factor / (1-factor) = proportion of second normal when compared to first). Feb 14, 2018 at 23:26