Transform 2D

Transforms

General 2D transform with offset, scale, rotation, filtering, and configurable source addressing.

Select a node to adjust its parameters. Double-click a node to inspect.

Inputs

  • input

Parameters

ParameterTypeDefaultRangeDescription
offset
Offset
vec2[0, 0]-1 to 1Translation offset from center in UV units.
scale
Scale
vec2[1, 1]0.01 to 8Output scale. Values below 1 shrink the input; above 1 enlarge it.
rotation
Rotation
float00 to 1Rotation in turns. 0.25 = 90°, 0.5 = 180°, 1.0 = 360°.
addressing
Addressing
enumbackgroundHow transformed source coordinates outside 0-1 are handled. Repeat wraps sampling, but does not guarantee a tiling-safe transform.
  • background : Fill out-of-bounds transformed areas with Background Color.
  • clamp : Clamp out-of-range coordinates or values to the edge.
  • repeat : Wrap out-of-range coordinates or values back into the 0-1 range.
background_color
Background Color
color[0, 0, 0, 1]Color used when transformed coordinates fall outside the input.
filter_mode
Filter
enumbilinearTexture filtering mode.
  • bilinear : Use bilinear sampling for smoother resampling.
  • nearest : Use nearest-neighbor sampling for hard pixel edges.

Outputs

  • output (default format: inherit)