Studio Yotsuba
Back to Node List

Directional Blur

directional_blur

Blurs pixels along an axis or extends them toward one selected direction, useful for speed trails and light streaks.

Reviewed
Guide available

Input Ports

NameTypeDescription
Image
input
Image
Required
Image to blur along an axis.

Output Ports

NameTypeDescription
Image
output
Image
Image blurred along the chosen axis or direction.

Parameters

NameTypeDefaultRangeDescription / Options
Angle
angle
Angle
0— / step 1

Blur direction in image space: 0° points right, 90° down, 180° left, and 270° up. In Both Sides mode, opposite angles produce the same axis.

Spread Direction
spread_direction
Enum
Both—

Where the blur trail appears. Use Along Angle for a sword swing or light ray aimed by Angle; use Against Angle for a wake trailing behind a moving object.

  • BothBoth
    Spread equally to both sides of the angle axis, matching existing projects
  • AlongAngleAlongAngle
    Keep the source and extend the visible trail toward the Angle
  • AgainstAngleAgainstAngle
    Keep the source and extend the visible trail opposite the Angle
Radius
radius
Int
40–64

Trail length in pixels. Both Sides uses this distance on each side; one-sided modes use it only in the selected direction. Start around 2–4px for pixel art and 8–16px for a strong attack trail.

Samples
samples
Int
91–65

How many points form the trail. 1 returns the source unchanged; for Nearest, Radius + 1 is a useful one-sided starting point, while Linear usually looks smooth around 9–17 samples.

Sampling
sampling
Enum
Nearest—

Chooses whether the blur keeps blocky pixel steps or blends smoothly between pixels.

  • NearestNearest
    Keep hard pixel steps for a sharper pixel-art result.
  • LinearLinear
    Blend between pixels for a smoother blur.
Wrap X
wrap_x
Bool
false—

Treat left and right edges as connected while sampling the blur trail.

Wrap Y
wrap_y
Bool
false—

Treat top and bottom edges as connected while sampling the blur trail.

Overview

Blurs pixels symmetrically along a selected axis. Use it for speed lines, elongated light, or wind-swept effects.

Nearest retains hard, pixel-art-like steps, while Linear blends between pixels for a smoother result.

Usage tips

  • angle selects an axis, not a one-way direction. 0° and 180° are the same horizontal axis; 90° and 270° are the same vertical axis.
  • A restrained 2–4px radius works well in pixel art.
  • For light streaks, apply a larger radius to a small white dot or light source, then layer it with blend (Add) for a lens-flare-like ray.
  • Promote angle to an input pin 📌 to create a light streak whose axis rotates over time.
  • samples=1 reads only the source position, so it is an identity regardless of radius.
  • On transparent backgrounds, both Linear interpolation and trail averaging account for alpha, so hidden RGB in fully transparent pixels does not tint the streak.
  • Use gaussian_blur for an omnidirectional blur. This node is specifically for one direction.

Related nodes

  • gaussian_blur — omnidirectional blur
  • blend — layer motion trails and light streaks
  • transform — combine with movement of the main subject

Examples

  • Match angle to a character's movement axis to create a short, symmetric speed line.
  • Apply a horizontal blur to a small white dot to create a streak of light.
  • With Nearest, extend the image by only about 2–4px while retaining its pixel feel.
  • For tile assets, enable wrap_x / wrap_y so streaks also connect naturally across the edges.
Back to Node List