Skip to content

Lens Distortion

Node icon
Transform
spherize

Apply or correct camera-lens distortion, or add bulge and sphere warps.

A fisheye view looking up into a round temple's painted coffered dome, its white columns bowing outward to the edges of the frame, and the same through Lens Distortion set to Correct: the columns standing straight and the dome round above them

Lens applies (or removes) camera-lens barrel and pincushion distortion across the whole frame. Bulge and Sphere are local warps around a center point, bounded by a radius.

The default mode. Positive Amount gives barrel distortion, negative gives pincushion, and Edge with the opposite sign to Amount adds wavy mustache distortion in the far corners. Direction Correct applies the exact inverse, removing lens distortion from a photo or 3D render. Fill Frame (on by default) zooms just past the blank borders the warp leaves at the edges; turn it off to set Scale yourself.

A power-curve push or pinch inside the radius. Positive Amount pushes the image outward; negative pulls it inward for a concave pinch.

Wraps the image onto a glass-ball hemisphere inside the radius, a stronger fisheye bulge than Bulge. Both modes use Feather to blend the distorted circle back into the image.

Wire a texture set in and every map, plus the set’s Opacity, takes the same warp, with the Normal’s directions re-aimed at each pixel to match, in every mode.

While you drag a handle or scrub a slider, the Preview keeps pace and downstream nodes update once on release. Over a set, a drag warps only the map on screen (or every map with the All grid open), and the whole set is built on release.

Pins

ImagePixels or Texture
InputRequired
ImagePixels or Texture
Output

Lens Distortion

ModeChoice
Default: Lens
  • BulgePower-curve push or pinch inside the radius. The classic spherical bulge/pinch.
  • SphereWraps the image onto a glass-ball hemisphere inside the radius.
  • LensCamera-lens barrel and pincushion distortion across the whole frame.
Amount (%)Number
Default: 25.0 Range: -100.0–100.0
  • Positive: barrel / bulge outward.
  • Negative: pincushion / pinch inward.
Center X (%)Number
Default: 50.00 Range: 0.00–100.00

Horizontal center of distortion.

Drag the crosshair in the preview to move it on-canvas.

Center Y (%)Number
Default: 50.00 Range: 0.00–100.00

Vertical center of distortion.

Drag the crosshair in the preview to move it on-canvas.

Radius (%)Number
Default: 100.00 Range: 10.00–200.00
Mode ≠ Lens

Percentage of half the smaller image dimension. 100% covers the image center to edge. 200% extends well beyond the image bounds

Feather (%)Number
Default: 0.0 Range: 0.0–100.0
Mode ≠ Lens

Softens the boundary of the affected circle. 0% keeps the full effect out to the edge; higher values blend smoothly back into the undistorted image

Edge (%)Number
Default: 0.0 Range: -100.0–100.0
Mode = Lens

Secondary distortion concentrated in the far corners.

Give it the opposite sign to Amount for wavy mustache distortion.

DirectionChoice
Default: Distort
Mode = Lens
  • DistortApply the lens distortion.
  • CorrectApply the exact inverse to remove lens distortion from a photo or render.
Scale (%)Number
Default: 100.0 Range: 50.0–200.0
Mode = Lens

Zooms the result around the center.

Use Fill Frame to hide the blank borders the distortion leaves at the edges.

Fill FrameToggle
Default: true
Mode = Lens

Automatically keeps Scale at the smallest zoom that leaves no blank borders, recomputed whenever Amount, Edge, Direction, Center, or the input size change.

It overrides the Scale slider.

Edge ModeChoice
Default: Clamp
  • ClampEdge pixels repeat outward, giving stretched edges at the boundary.
  • WrapPixels wrap around to the opposite edge.
  • TransparentOut-of-bounds areas become transparent.

Filter

InterpolationChoice
Default: Bilinear

A texture set with a Normal or Height map uses Bilinear

  • NearestNo interpolation, so hard pixel edges are preserved. Best for pixel art.
  • BilinearSmooth blending between pixels, with good general-purpose quality.
  • LanczosHighest quality with sharp detail preservation, best for final output.

Display

Show GridToggle
Default: true

Overlay a warped grid in the preview showing how the distortion bends the image.

Display only. It never affects the output.

Drag the center, radius, and feather directly on the canvas (also in a Viewer slot); the Show Grid overlay shows how the distortion bends the image.

  • Use Lens mode with Direction set to Correct to straighten barrel or pincushion distortion from wide-angle photos before compositing.
  • In Bulge mode, a moderate positive Amount (30 to 60%) gives a subtle fisheye; negative values pinch for miniature-planet or vortex effects.