Skip to content

Nodes · Filter

Blur

Filterv1core

Overview

Blurs the image. size is the width of the blur in pixels; filter picks its shape. Use the mask input to blur only part of the frame.

How to

How-to

  1. Set size in pixels: the width of the blur (a gaussian's full width at half height, a box's whole width).
  2. filter picks the blur's shape: gaussian (soft, the default), box (flat), triangle or quadratic.
  3. border decides what the blur sees past the edge: clamp holds the edge, mirror reflects it.
  4. Blur alpha with the colour for a soft matte; a mask limits where the blur applies.

Blurs from older scripts

A Blur saved before size existed shows radius instead and blurs exactly as it did. Press → size on its panel to move it to size: the same blur, in one undo. A converted gaussian also gains its full tail (the old one stopped a little short, which can show as a faint edge around a very bright highlight).

What size means

filterthe kernel
boxsize pixels wide; a fractional size weights the end pixels
trianglefalls to zero size pixels either side
quadratica smooth bump, 1.5 × size either side
gaussiansize is its full width at half height (sigma = 0.4247 × size); it runs 1.5 × size either side

Inputs

InputWhat it takes
inthe image this node works on
masklimits the effect to this matte — the engine's universal mask slot, applied for every node that declares it

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
channelsChoicergbaWhich channels this node writes: rgba, rgb (alpha passes through untouched), alpha only, all, or none (bypass). Everything unselected comes straight from the input. allrgbargbalphanone
sizeFloat0.0The width of the blur in pixels: a gaussian's full width at half height, a box's whole width.
radiusFloat0.0How a Blur saved before size existed blurs: a box of twice the radius plus one, or a gaussian of sigma = radius / 3. It keeps that exact blur so an old comp does not change. Press the → size button above to move the node to size.
filterChoicegaussianThe blur's shape. gaussian (the default) is the soft one. box is flat and shows as squares on highlights. triangle and quadratic sit between. All four give the same overall width for the same size. Scripts saved before gaussian became the default keep box. boxtrianglequadraticgaussian
borderChoiceclampWhat the blur sees past the edge of the picture. clamp (the default): the edge pixels carry on outward, so a blurred plate does not darken toward its frame. black: nothing is out there, so it does. mirror: the picture reflects. Scripts saved before clamp became the default keep black. blackclampmirror
disabledBoolfalseBypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back.
labelTextA note shown under the node in the graph — what this node is FOR. Never affects the render or the cache.
hide_inputBoolfalseDraw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap).