3
$\begingroup$

I need to change node Multiply Add from Blender 4.0.2 to Blender 2.79 with math nodes. How i can do that?

$\endgroup$

1 Answer 1

7
$\begingroup$

Use two nodes one after another in Multiply and Add modes. That's all there is to it - it's exactly the same. Multiply Add mode in the Math node is there only for convenience and it doesn't do anything different than if you do those operations separately.

enter image description here

$\endgroup$
7
  • 1
    $\begingroup$ "Value" in Multiply Add node is the value you want to multiply and add to. So if you connect that value to Multiply node and then take the result and connect it to Add node, you can first multiply it and then add to it. I am not sure how else to explain. $\endgroup$ Feb 16 at 10:23
  • 1
    $\begingroup$ Maybe that can help? i.sstatic.net/GHLcF.png multiply add is (a x b) + c $\endgroup$
    – lemon
    Feb 16 at 10:29
  • 1
    $\begingroup$ @UMANETS Also, multiplication is commutative, meaning $a\cdot b = b\cdot a$, so it does not matter if you have Value · Value in the Multiply node, if one Value represents the Value from the Multiply Add node and the other the Multiplier, then the result is the same for Value · Multiplier = Multiplier · Value. So I'm not sure what your problem is with the setup...? Or do you think every input called Value must have the same number...? $\endgroup$ Feb 16 at 10:33
  • 1
    $\begingroup$ Yes as the name and the order of sockets implies, the node first multiplies, then adds. So it's always (a*b) + c hence the order or the multiply node and the add node $\endgroup$
    – Gorgious
    Feb 16 at 10:55
  • 1
    $\begingroup$ @UMANETS But the name is Multiply Add not Add Multiply node, already gives a hint on the order of operations. Also the order of inputs with the Multiplier above the Adddend gives a hint on the order of operations (and this node is not switchable from one order to the other). And the manual setup shown in the answer only allows that order of operations, because the way they are connected can only work in one direction, first the multiplication and then the addition. No doubt about that. And if there still was any doubt for the Multiply Add node, just enter values and check the result. $\endgroup$ Feb 16 at 11:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .