Skip to content

blurGaussian2Pass

blurGaussian2Pass(tex, uv, radius, texelSize): Node<"vec4">

Defined in: packages/nodes/src/blur/blurGaussian.ts:96

Simple two-pass Gaussian blur helper. Applies horizontal then vertical blur.

Parameters

tex

Texture

Source texture

uv

Node<"vec2">

UV coordinates

radius

FloatInput = 0.01

Blur radius

texelSize

Vec2Input = ...

Size of one texel (for proper scaling)

Returns

Node<"vec4">

Blurred color