Skip to content

Shaders and filters

A fill can be procedural. Shaders paint animated patterns such as liquid metal, and filters restyle the fills beneath them with grain, halftone dots or a duotone.

Where do I find them?

Open the color picker on a fill and click the Shader or Filter category. A menu then lists the types, and hovering one previews it on the canvas.

Shaders also work on strokes; filters are fills only. Both work on whole text elements, where the pattern renders through the glyphs. A selected range of characters takes a solid or a gradient.

Which shaders are there?

Five, each with its own controls on top of colors, speed and transform.

ShaderWhat it paintsColorsIts own controls
MetaballsBlobs that merge and splitUp to 5Count, Size
Liquid MetalMetallic reflections with chromatic shift2Shape, Softness, Repetition, Shift Red, Shift Blue, Distortion, Contour, Angle
IridescentFolded, oil-slick color3Shape, Intensity, Folds, Angle, Complexity, Metallic
Liquid Stainless SteelFlowing chrome2Shape, Flow, Roughness, Distortion, Depth, Angle
DitheringNoise as a two-tone dither2Shape, Dither, Size
A still of the live example. Open this page on a desktop browser with WebGPU to try it.
A shader fill, animating in the engine, in its opening state
Shader
Speed
A shader fill, animating in the engine. Live on a desktop browser with WebGPU. Flip a control and the canvas recompiles in place.

Try it: pick a shader and set its speed to Slow, Fast or Frozen.

What can I change on a shader?

Expand the fill row. Every shader has Colors, Speed and Transform.

ControlWhat it does
ColorsClick a swatch to edit it, and add or remove colors up to the maximum. Any color can bind to a design token.
SpeedHigher is faster, and 0 freezes the pattern.
TransformScales, offsets and rotates the pattern without moving the element.
ShapeOn Liquid Metal, Iridescent and Liquid Stainless Steel: Element follows the outline, Metaballs masks with a blob, None fills the bounds.
PresetsCurated starting points such as Lava Lamp, Mercury or Molten Gold. Reset restores the defaults.

How do I pause the animation?

Each shader fill has a play and pause button in its expanded row. To stop or start all of them on a canvas, run Toggle Shader Animations from the palette. On a busy canvas Brilliant can pause them itself, and it tells you when it does.

Which filters are there?

Seven, and each reprocesses the fills stacked beneath it instead of painting a color of its own.

One image reprocessed by each filter: color adjust, noise and grain, halftone, pixelate, duotone, posterize and dither, beside the original
One image reprocessed by each filter: color adjust, noise and grain, halftone, pixelate, duotone, posterize and dither, beside the original
FilterWhat it does
Color AdjustPhoto grading: exposure, contrast, saturation, temperature, vignette and more.
Noise / GrainFilm grain, in color or monochrome.
HalftonePrint dots, with a CMYK mode.
PixelateMosaic with square, hexagonal, diamond, circle or triangle cells.
DuotoneMaps tones to two colors, or three for a tritone.
PosterizeFlat bands of color.
DitherOrdered dithering with Bayer and noise patterns.

Does the order of fills matter?

Yes. A filter restyles what is beneath it, so drag it to the top of the Fills section to affect the whole element. With two filters, each restyles only its own run, from the filter below it up to itself. Anything above the top filter paints untouched.

Filters shine on photos: add an image fill and stack a Duotone or Halftone above it, and the original stays intact.

How do they export?

PNG, JPEG and WebP match the canvas, with shaders at the exported frame, and MP4 or MOV captures the animation. SVG and PDF cannot express them, so those elements are embedded as raster images. Grain, dots and cells are measured in logical pixels, so patterns hold across zoom. More on Export.

Where next?