3
$\begingroup$

I use this node setup to combine my two normal maps. enter image description here

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 ?

$\endgroup$
4
$\begingroup$

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)

Weighted normal maps with values

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

Weighted normal maps with colors

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.

$\endgroup$
  • 1
    $\begingroup$ Thank You :)) This works perfectly when i use the Texture with Non-color-Data $\endgroup$ – Jens Clar Feb 14 '18 at 13:36
2
$\begingroup$

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

some more details can be found in this thread in BA

And the nodegroup can be found here.

$\endgroup$
  • $\begingroup$ "More precise" than what? $\endgroup$ – Leander May 10 at 10:57
-1
$\begingroup$

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.

example

$\endgroup$
  • $\begingroup$ no the two sliders dont help they one change the overall colorshift. $\endgroup$ – Jens Clar Feb 14 '18 at 12:45
  • $\begingroup$ 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). $\endgroup$ – Rich Sedman Feb 14 '18 at 23:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.