MathNode

Do the maths between nodes: add, multiply, compare, wrap or wave any number.

A MathNode applies one Operation to A and B and outputs Value: Add, Subtract, Multiply, Divide, Power, Minimum, Maximum, Less Than, Greater Than, Modulo, Sine, Cosine, Absolute, Floor, Fraction or Smooth Step. Unwired, A and B are typed on the node.

Properties

Inputs

NameTypeDefaultDescription
Anumber0.5The first of the two inputs the Operation works on.
Bnumber0.5The second of the two inputs the Operation works on.

Node

Operationstring"Add"
Add, Subtract, Multiply, Divide, Power, Minimum, Maximum, Less Than, Greater Than, Modulo, Sine, Cosine, Absolute, Floor, Fraction, Smooth Step
The operation done on A and B; its result is the Value output.
From ShaderNode 1
From Instance 22