Skip to main content
Version: 4.55.1

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​

Used to discard pixels if they shouldn't be drawn.

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 value smoothly interpolated between A and B.

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.

Was this page helpful?
Yes
No