Nodes > Math > Common
Abs
Returns the absolute (positive) value of the input.
Add
Returns the sum of the input values.
Add One
Returns 1 added to the value.
Ceil
Returns the input value rounded up to the next largest whole number.
Clamp
Clamps the value within a minimum and maximum range.
DDX
Computes the partial derivative of the neighboring horizontal pixels in screen space.
DDY
The partial derivative of vertical pixels.
Discard
Discard the current pixel if the given conditions are met.
Divide
Returns A divided by B.
FWidth
The absolute sum of DDX and DDY.
Floor
Returns the input value rounded down to the next smallest whole number.
Fract
Returns the fractional part of the input value.
Max
Returns the greatest value among all inputs.
Min
Returns the lowest value among all inputs.
Mix
Returns a value interpolated between A and B.
Mod
Performs a modulo operation.
Multiply
Multiplies all inputs and returns the product.
Negate
Multiples a value by -1.
One Minus
Returns the value subtracted from 1.
Reciprocal
Returns the result of dividing 1 by the value.
Round
Rounds the value to the nearest whole number.
Scale and Offset
Scales and then offsets the value.
Sign
Returns the sign of the value.
Smoothstep
Returns a 0-1 value smoothly interpolated from 0 at the lower boundary, A, to 1 at the higher boundary, B, based on the given ratio.
Step
Returns 1 if B is greater than A, and 0 otherwise.
Subtract
Returns the result of subtracting B from A.
Subtract One
Returns 1 subtracted from the value.
Transform by Matrix
Transforms B by A using multiplication. A and B can be configured to be either vectors or matrices.