View & accessibility
Thumbnails
Motion
Bforartists
5.1
Editors

Utilities

Utilities nodes: Math, Vector.

13
 min read
Up to date for 
5.1
draft

Add menu - Utilities

Add menu - Utilities
Add menu - Utilities

Here you find nodes that are used as utilities.

Levels

Levels

The Levels Node reads the inputs color channels and outputs analytical values. It’s useful for evaluating image brightness and contrast, and for driving effects based on image intensity.

Inputs

Image

The image input.

Properties

Properties
EntryWhat it does
ChannelThe Red, Green, Blue or Luminance channels
Outputs1D values based on the levels of an image.
MeanThe mean is the average value of all image pixels in specified channel (combined, red, green, blue, luminance). It tells you how dark or bright the image is and can be used as such for setups that depend on how is input “bright” or “dark”.
Standard DeviationHow much those pixel values differ from the mean. A low standard deviation indicates that the pixel values tend to be very close to the mean. A high standard deviation indicates that the values are spread out over a large range of values. The visualization of such data is just a gray rectangle.

Normalize

Normalize

Find the minimum and maximum values of a single channel. Then map the values to a range of 0 and 1.

EntryWhat it does
InputsValue: Standard value input.
OutputsValue: Standard value output.

Split

Split

Allows to combine two images horizontally or vertically

EntryWhat it does
InputsPosition: Line position where the image should be split. · Rotation: Line angle where the image should be split. · Image: The first image. · Image: The second image.
OutputsImage: Image output.

Switch

Switch

The Switch node is akin to a boolean, where you can use a toggle to choose what is shown with on or off.

EntryWhat it does
PropertiesSwitch: The toggle that turns the switch on or off resulting in the final output being whatever is in the on or off input.
InputsOff: The image that is shown when the toggle is off. · On: The image that is shown when the toggle is on. · Image: Standard RGB image output.

Index Switch

Index Switch

Choose between an arbitrary number of values with an index.

Properties

Data Type

What data type to evaluate.

Inputs

Inputs

The content changes. dependant of the data type.

EntryWhat it does
IndexThe index input value.
0The 0 value
1The 1 value

Output

Output

The output index value.

Menu Switch

Select from multiple inputs by name.

Properties

Data Type

What data type to evaluate.

Inputs

Inputs

The content changes. dependant of the data type.

Menu input

The default menu.

EntryWhat it does
AThe A input.
BThe B input.

Output

EntryWhat it does
OutputThe output string.
AThe A output
BThe B output

Switch Stereo View

Switch Stereo View

The Switch View node combines the views (left and right) into a single Stereo 3D output. This can be useful if for example, you need to treat the view as separate images by combining each of the views.

EntryWhat it does
InputsLeft: Left-eye image input. · Right: Right-eye image input.
OutputsImage: Stereo 3D image output.

Relative to Pixel

Relative to Pixel

The Relative to Pixel node converts values expressed as relative factors (e.g., percentages of image size) into absolute values. This is especially useful when working with nodes that require pixel-based inputs, such as filters or masks, while still allowing for resolution-independent setups.

Example: Converting a Value of 10 Using “Per Dimension”

Let’s say you’re working with an image that’s 1920 pixels wide and 1080 pixels tallwith the following input value and properties.

  • Mode: Per Dimension
  • Input Value: 10% (or 0.10 as a relative value)
  • Value Type: 2D Vector (0.10, 0.10)

Using **Per Dimension **type, each component of the vector is multiplied by its respective X and Y image dimension:

  • X = 0.10 × 1920 = 192 pixels
  • Y = 0.10 × 1080 = 108 pixelsResulting Pixel Value: (192, 108)

Inputs

EntryWhat it does
ValueThe input float value to convert. This would be your absolute value.
ImageThe reference image used to determine pixel dimensions. If not connected, the active compositing image is used.

Properties

Data Type

Specifies whether the input is a Float or a Vector. This affects how the conversion is applied.

Reference Dimension
Reference Dimension

Determines how the relative value is interpreted.

Per Dimension: Converts each component (X and Y) relative to its corresponding image dimension.

X: Converts the value relative to the image width.

Y: Converts the value relative to the image height.

Greater: Uses the larger of the image’s width or height as the reference.

Smaller: Uses the smaller of the image’s width or height.

Diagonal: Uses the diagonal length of the image as the reference.

Outputs

Value

The converted float value, based on the selected mode and input type.

Math

Add menu - Utilities - Math

Add menu - Utilities - Math
Add menu - Utilities - Math

Clamp

Clamp

The Clamp node restricts a value to lie within a specified range. It’s commonly used in compositing to prevent values from exceeding a desired minimum or maximum, which helps avoid unwanted brightness spikes or clipping in image processing.

EntryWhat it does
InputsValue: Standard Value input. (Value refers to each vector in the set.)
PropertiesClamp Type: A dropdown that determines how the clamping is applied: Min / Max or Range. · Min / Max: The minimum and maximum allowed value. Any input lower or higher than this will be lowered or raised to this value.
OutputsValue: Standard value output.

Float Curve

Float Curve

The Float Curves node maps an input value to a curve.

EntryWhat it does
InputsFactor: Input factor.
ValueStandard float value input.
Properties
Curve edit field

Create and tweak a Bezier curve that varies the input levels (X axis) to produce an output level (Y axis).

Selecting Points

This setting uses the curve widget: click to add points, drag to move them. See Curve Widget in the Interface chapter.

Adding Points
Adding Points

You can add new curve points by simply left clicking at the curve. Move the mouse to position them where you need it.

EntryWhat it does
Zoom in and outThe two buttons with the magnifying glass at it zooms in and out in the curve window.
ToolsTools is a menu where you can find some curve related tools. · Reset View: Resets the curve windows zoom. · Extend horizontal: Extends the curve before the first curve point and behind the last curve point horizontally. · Extend extrapolated: Extends the curve before the first curve point and behind the last curve point extrapolated. · Reset Curve: Resets the curve to the initial shape.
Clipping Options
Use Clipping
Use Clipping

Clipping options. Set up clipping for the stroke.

Delete Points

Deletes selected curve points.

Vector Handle
Vector Handle

Set handle type to Vector.

EntryWhat it does
Auto HandleSet handle type to Auto.
Auto Clamped HandleSet handle type to Auto Clamped.
X / Y valueThe position of the selected curve point.
DeleteDeletes the selected curve point.
Outputs
Value

Standard float value output.

Map Range

Map Range

This node allows to convert (map) an input value range into a destination range. By default, values outside the specified input range will be proportionally mapped as well. This node is similar to Map Value node but provides a more intuitive way to specify the desired output range.

EntryWhat it does
UsageOne important use case is to easily map the original range of the Z-depth channel to a more usable range (i.e: 0.0 - 1.0) for use as a matte for colorization or filtering operations.
InputsThis chapter deals with the input type Float. The same node exists in the Vector menu too. With preselected type Vector. · Value: Standard value input. · From Min/Max: Start/End of the input value range. · To Min/Max: Start/End of the destination range. · Steps: The amount of steps. Note: Only shows when using the Stepped Linear interpolation type.
Properties
Properties
Data Type

Selects between float or vector values to map the range.

Interpolation Type
Interpolation Type

Selects between a linear, stepped linear, smooth step or smoother step interpolation types.

Clamp

Clamps values to Min/Max of the destination range.

Outputs
Value

Standard value output.

Math

Math

The Math Node performs math operations.

Inputs
EntryWhat it does
ValueFirst numerical value. The trigonometric functions accept values in radians.
ValueSecond numerical value. This value is not used in functions that accept only one parameter like the trigonometric functions, Round and Absolute.
Properties
Operation

Here you can choose what mathematical operation to perform.

Operation
Clamp

Limits the output to the range (0 to 1). See clamp.

Outputs
Value

Numerical value output.

Mix

Mix

The Mix Node mixes float values by working on the individual and corresponding pixels of the two input values. Called “Mix” in the shader, Geometry Nodes and texture context.

EntryWhat it does
InputsFactor: Controls the amount of influence the node exerts on the output Value. · Value A: The back value. · Value B: The top value.
PropertiesClamp Factor: Limit the highest color value to not exceed 1.
OutputsResult: Value output.

Vector

Add menu - Utilities - Vector

Add menu - Utilities - Vector
Add menu - Utilities - Vector

Here you find mainly nodes for vector data manipulation.

Combine XYZ

Combine XYZ

Same as with Combine RGB node. It combines color values. But instead combining rgb values, which are in the range of 0 to 255, it uses values in the range from 0 to 1.

EntryWhat it does
InputX Y and Z: X, Y and Z values.
OutputColor: Color output.

Map Range

Map Range

This node allows to convert (map) an input value range into a destination range. By default, values outside the specified input range will be proportionally mapped as well. This node is similar to Map Value node but provides a more intuitive way to specify the desired output range.

EntryWhat it does
UsageOne important use case is to easily map the original range of the Z-depth channel to a more usable range (i.e: 0.0 - 1.0) for use as a matte for colorization or filtering operations.
InputsThis chapter deals with the input type Float. The same node exists in the Math menu too. With preselected type Float. · Vector: Standard vector input. · From Min/Max: Vector 3 of the Start/End of the input value range. · To Min/Max: Vector 3 of the Start/End of the destination range. · Steps: The amount of steps. Note: Only shows when using the Stepped Linear interpolation type.
Properties
Properties
Data Type

Selects between float or vector values to map the range.

Interpolation Type
Interpolation Type

Selects between a linear, stepped linear, smooth step or smoother step interpolation types.

Clamp

Clamps values to Min/Max of the destination range.

Outputs
vector

Standard value output.

Mix Vector

Mix Vector

The Mix Vector node blends two vector inputs using a specified factor. It’s useful for compositing tasks that involve motion vectors, directional effects, or spatial blending, offering precise control over how two sets of vector data are combined

Inputs
EntryWhat it does
FactorControls the amount of influence the node exerts on the output result.
Value AThe back value.
Value BThe top value.
Properties
Data Type

Set to Vector, indicating the node mixes vector values.

Factor Mode

The method of mixing.

  • Uniform: A single float controls the mix across all vector components.
  • Non-Uniform: A vector input controls the mix per component (X, Y, Z).
Clamp Factor

Limit the highest color value to not exceed 1.

Outputs
Result

Vector output.

Separate XYZ

Separate XYZ

Same as with Separate RGB node. It separates color values. But instead separating rgb values, which are in the range of 0 to 255, it uses a vector with the values in the range from 0 to 1.

EntryWhat it does
InputVector: The Input vector.
OutputX, Y and Z: The output vectors for X, Y and Z

Radial Tiling

Radial Tiling

Transform coordinate system for radial tiling.

EntryWhat it does
InputVector: Vector 2 input · Sides: Number of angular segments for tiling. A non integer value results in an irrgeluar segment. · Roundness: Roundness of the segment coordindates system.
PropertiesNormalize: Normalize the X coordinate of the segment coordinates output to a [ 0 / 1 ] interval and offset the Y coordinate into a [0, infinity] interval. This stretches the textures to fit into each angular segment. Else they are cropped.

Vector Curves

Vector Curves

The Vector Curves node maps an input vector components to a curve.

Inputs

In the shader context the node also has an additional Factor property.

Vector

Standard vector 3 input.

Properties
Channel
Channel buttons
Channel buttons

X, Y, Z. Clicking on one of the channels displays the curve for each.

Curve edit field

Create and tweak a Bezier curve that varies the input levels (X axis) to produce an output level (Y axis).

Selecting Points
Selecting Points

You can select curve points. This reveals two edit boxes for the x and y coordinate of this point.

Selected points can be moved around. Left click at them, hold the mouse button down and move them to a new location.

Adding Points
Adding Points

You can add new curve points by simply left clicking at the curve. Move the mouse to position them where you need it.

Zoom in and out

The two buttons with the magnifying glass at it zooms in and out in the curve window.

Clipping options
Clipping options

Clipping options. Set up clipping for the stroke.

Tools
Tools

Tools is a menu where you can find some curve related tools.

EntryWhat it does
Reset ViewResets the curve windows zoom.
Extend horizontalExtends the curve before the first curve point and behind the last curve point horizontally.
Extend extrapolatedExtends the curve before the first curve point and behind the last curve point extrapolated.
Reset CurveResets the curve to the initial shape.
Vector Handle
Vector Handle

Set handle type to Vector.

EntryWhat it does
Auto HandleSet handle type to Auto.
Auto Clamped HandleSet handle type to Auto Clamped.
X / Y positionThe x y coordinate of the selected curve point. The range goes from -1 to +1
Delete PointsDeletes selected curve points.
Outputs
Vector

Standard vector 3 output.

Vector Math

Vector Math

The Vector Math Node performs math operations.

Inputs
EntryWhat it does
VectorFirst numerical value. The trigonometric functions accept values in radians.
VectorSecond numerical value. This value is not used in functions that accept only one parameter like the trigonometric functions, Round and Absolute.
Properties
Properties
Operation

Here you can choose what mathematical operation to perform.

Outputs
Value

Numerical value output.

Vector Rotate

Vector Rotate

The Vector Rotate node rotates a vector around a specified axis and center point. It’s useful for compositing tasks involving directional transformations, such as rotating motion vectors, normals, or custom vector fields

Inputs
EntryWhat it does
VectorThe input vector to be rotated.
CenterThe pivot point around which the vector is rotated.
AxisThe axis of rotation, defined as am XYZ based 3D vector
AngleThe amount of rotation in degrees.
Properties
Type
Type

Determines the rotation method.

  • Axis Angle: Rotates around a custom axis by a specified angle.
  • **X/Y/Z Axis: **Rotates the vector around the X/Y/Z-axis.
  • **Euler: **Applies rotation using Euler angles in XYZ order.
Invert

When enabled, reverses the direction of the rotation.

Outputs
Vector

The rotated vector result.