Filter node

Gaussian Blur

GPU-accelerated Gaussian blur post-process filter. Apply a soft, natural-looking blur to any generator image with configurable radius, multiple iterations for stronger blur, quality scaling for performance, and edge mode control. This is a separable two-pass blur (horizontal then vertical) that operates on premultiplied alpha to prevent dark halo artifacts.

Inputs

PortTypeDefault
EnableOff clears the output image rather than passing the source through, so the canvas shows nothing from this branch.booltrue
ImageThe image to blur. Cable it from any generator or another image filter.image—
WidthSource width in Grafit units, used to size the blurred quad. Normally cabled straight from the source node's Width output.float2.0
HeightSource height in Grafit units, used to size the blurred quad. Normally cabled straight from the source node's Height output.float2.0
RadiusBlur amount in Grafit units; 0 passes the image through untouched and negatives are treated as 0. Very large values stop softening further once the kernel reaches its size cap — raise Iterations or lower Quality instead.float0.02
IterationsHow many times the blur is repeated, compounding into a much wider, softer falloff. Clamped to 1…5.int1
CropOn keeps the original image size and cuts the blur off at its edges. Off grows the output by the blur diameter so the whole soft falloff stays visible.boolfalse
Edge ModeHow the blur treats the image border: Transparent fades edges out naturally, Clamp extends the edge pixels so the border stays solid. Anything other than Clamp behaves as Transparent.int0
QualityResolution the blur is computed at, from full down to a sixty-fourth. Clamped to 0…6 — lower resolution is dramatically faster and, for big soft blurs, looks nearly identical.int0

Outputs

PortType
ImageThe image to blur. Cable it from any generator or another image filter.image
WidthSource width in Grafit units, used to size the blurred quad. Normally cabled straight from the source node's Width output.float
HeightSource height in Grafit units, used to size the blurred quad. Normally cabled straight from the source node's Height output.float

Live Preview

Interactive — Blur radius sweeping

Pipeline

The Gaussian Blur node is a filter node — it sits between a generator and a Canvas:

Generator (e.g. Circle 2D) --> Gaussian Blur --> Canvas
         Image, Width, Height    Image, Width, Height    Image

Connect all three outputs (Image, Width, Height) from the source generator to the blur's inputs, then connect the blur's three outputs to a Canvas node.

Edge Modes

ValueNameBehavior
0TransparentPixels beyond the image edge are treated as transparent (RGBA = 0). The blur naturally fades to transparency at the edges. This is the default and works best for isolated shapes.
1ClampPixels beyond the edge repeat the nearest edge pixel. Prevents the blur from fading out, which is useful for backgrounds, tiles, or full-screen effects where you want the blur to extend seamlessly.

Quality Levels

Quality reduces the internal rendering resolution for significant performance gains with large blur radii. The image is downscaled before blurring and upscaled afterward.

ValueNameResolutionPerformance
0Full (1/1)Native resolutionBest quality, highest cost
1Half (1/2)50% resolutionGood balance for medium blur
2Quarter (1/4)25% resolutionGood for large blur radii
3Eighth (1/8)12.5% resolutionFast, soft look
41/166.25% resolutionVery fast, heavily softened
51/323.125% resolutionExtreme softening
61/641.5625% resolutionMaximum performance, minimal detail

Lower quality settings are especially effective when combined with large radii — the downscaling itself contributes to the blur effect, so you can use fewer iterations and a smaller radius at lower quality to achieve a similar visual result much faster.

How It Works

  1. Separable passes — The 2D Gaussian kernel is decomposed into two 1D passes (horizontal, then vertical), reducing computational complexity from O(r^2) to O(2r) per pixel.
  2. Premultiplied alpha — The blur operates on premultiplied alpha data throughout, which prevents dark halos around transparent edges. This is consistent with Grafit's rendering pipeline.
  3. Iteration compounding — Each iteration applies the full two-pass blur again. N iterations with radius r produce an effective blur approximately equivalent to a single pass with radius r x sqrt(N).
  4. Dimension expansion — When Crop is off, the output dimensions grow by 2x radius on each side so the Canvas quad is large enough to display the full blur falloff without clipping.
  5. Zero radius bypass — When Radius is 0, the blur is bypassed entirely (blit copy) for zero GPU cost.

Use Cases

  • Soft shadows — Apply a blur to a dark-colored shape offset slightly from the main element to create a diffused shadow. (Note: Generator nodes with built-in Shadow support use a dedicated shadow post-processor, but Gaussian Blur gives you manual control.)
  • Depth-of-field — Blur background elements more than foreground elements to simulate camera depth-of-field.
  • Glow effects — Blur a bright shape and composite it over the original using Canvas blend modes for a bloom/glow effect.
  • Background softening — Blur a full-screen image or video to create a soft, frosted-glass backdrop.
  • Signal smoothing visualization — Blur a waveform or spectrum texture for a smoother visual presentation.
  • UI element backgrounds — Create a blurred background layer behind UI text overlays for improved readability.

Tips

  • Start with Radius 0.02 and 1 iteration. Increase Radius for a wider blur; add Iterations for a stronger, smoother result.
  • For very large blurs, reduce Quality to 2 or 3 and increase Radius rather than using many iterations at full resolution — the visual result is similar but performance is dramatically better.
  • The Crop toggle is useful when you need the output to tile seamlessly or match the exact input dimensions.
  • Edge Mode Clamp is essential for full-screen effects — Transparent mode would introduce dark/transparent edges.
  • Iterations are clamped to a maximum of 5. If you need even more blur, increase the Radius or lower the Quality instead.
  • Chain multiple Gaussian Blur nodes for multi-stage effects (e.g. a tight blur followed by a wide bloom).

Open Gaussian Blur in the interactive catalog →

Gaussian Blur is one of 381 nodes in Grafit Pro.

Free download. Every feature for 7 days, no card. Then €99.99 once — or keep playing your projects as a Player.

More Filter nodes