Skip to content

pixelate

const pixelate: EffectDefinition<PixelateHandle, PixelateOptions>

Defined in: effects/src/pixelate.ts:19

Pixelation. setIntensity linearly scales the configured size from 1 (effectively smooth) to the original value. The live size is clamped to a minimum of 1 — size: 0 would divide-by-zero in the shader — so a fade-out doesn’t quite reach a visually unfiltered state; remove the effect rather than fading to 0 if you want the filter cost gone.