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
- Set
sizein pixels: the width of the blur (a gaussian's full width at half height, a box's whole width). filterpicks the blur's shape: gaussian (soft, the default), box (flat), triangle or quadratic.borderdecides what the blur sees past the edge: clamp holds the edge, mirror reflects it.- Blur alpha with the colour for a soft matte; a
masklimits 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
| filter | the kernel |
|---|---|
| box | size pixels wide; a fractional size weights the end pixels |
| triangle | falls to zero size pixels either side |
| quadratic | a smooth bump, 1.5 × size either side |
| gaussian | size is its full width at half height (sigma = 0.4247 × size); it runs 1.5 × size either side |
Inputs
| Input | What it takes |
|---|---|
| in | the image this node works on |
| mask | limits the effect to this matte — the engine's universal mask slot, applied for every node that declares it |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| channels | Choice | rgba | Which channels this node writes: rgba, rgb (alpha passes through untouched), alpha only, all, or none (bypass). Everything unselected comes straight from the input. allrgbargbalphanone |
| size | Float | 0.0 | The width of the blur in pixels: a gaussian's full width at half height, a box's whole width. |
| radius | Float | 0.0 | How 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. |
| filter | Choice | gaussian | The 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 |
| border | Choice | clamp | What 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 |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |
