Nodes > Math
ACos
Returns the arccosine of the value in radians.
ASin
Returns the arcsine of the value in radians.
ATan
Returns the arctangent of the value in radians.
ATan2
Returns the angle (in radians) formed by the horizontal offset X and vertical offset Y.
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.
And
Returns 1 if both input values are non-zero, otherwise returns 0.
Ceil
Returns the input value rounded up to the next largest whole number.
Clamp
Clamps the value within a minimum and maximum range.
Conditional
Returns the False input if the passed in value is 0, otherwise returns the True input.
Cos
Returns the cosine of the Radians input angle.
Cross
Returns the cross product of the input vectors.
DDX
Computes the partial derivative of the neighboring horizontal pixels in screen space.
DDY
The partial derivative of vertical pixels.
Degrees
Converts a number from radians to degrees.
Discard
Discard the current pixel if the given conditions are met.
Distance
Returns the distance between the two input points.
Divide
Returns A divided by B.
Dot Product
Returns the dot product of the two input vectors.
Exp
Returns the natural exponentiation of the input value.
Exp2
Returns 2 raised to the power of the input value.
FWidth
The absolute sum of DDX and DDY.
FaceForward
Flips the supplied surface normal to face in the opposite direction I.
Floor
Returns the input value rounded down to the next smallest whole number.
Fract
Returns the fractional part of the input value.
If / else
Returns the first Value where the matching Condition is true (not 0), or returns Default if all are 0.
Inverse Sqrt
Returns 1 divided by the square root of the input value.
Is All
Returns 1 if all elements of the input vector are non-zero, returns 0 otherwise.
Is Any
Returns 1 if any element of the input vector is non-zero, otherwise returns 0.
Is Equal
Returns 1 if A == B, returns 0 otherwise. This is calculated separately for each channel.
Is Greater
Returns 1 if A > B, returns 0 otherwise. This is calculated separately for each channel.
Is Greater or Equal
Returns 1 if A >= B, returns 0 otherwise. This is calculated separately for each channel.
Is Less
Returns 1 if A < B, returns 0 otherwise. This is calculated separately for each channel.
Is Less or Equal
Returns 1 if A <= B, returns 0 otherwise. This is calculated separately for each channel.
Is Not Equal
Returns 1 if A != B, returns 0 otherwise. This is calculated separately for each channel.
Length
Returns the length of the vector.
Log
Returns the natural logarithm of the input value.
Log10
Returns the base 10 logarithm of the input value.
Log2
Returns the base 2 logarithm 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.
Normalize
Returns the input vector normalized so that its length equals 1.
Not
Returns 1 if the value is 0, otherwise returns 0. This is calculated separately for each channel.
One Minus
Returns the value subtracted from 1.
Or
Returns 1 if either input value is non-zero, otherwise returns 0.
Pow
Raises a value to an exponential power.
Radians
Converts a number from degrees to radians.
Reciprocal
Returns the result of dividing 1 by the value.
Reflect
Returns the I vector reflected over the N normal.
Refract
Refracts a vector through a normal.
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.
Sin
Returns the sine of the Radians input angle.
Smoothstep
Returns a value smoothly interpolated between A and B.
Sqrt
Returns the square root of the input value.
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.
Switch
Returns a Case value based on the passed in Switch index.
Tan
Returns the tangent of the Radian input angle.
Transform by Matrix
Transforms B by A using multiplication. A and B can be configured to be either vectors or matrices.
XOr
Returns 1 if exactly one of the inputs equals 0. Otherwise, returns 0.