Skip to content

blurRadial(tex, uv, center?, strength?, samples?): Node <"vec4">

Defined in: packages/nodes/src/blur/blurRadial.ts:20

Radial blur (zoom blur) emanating from a center point. Creates a motion blur effect as if zooming in/out.

Texture 

Source texture

Node <"vec2">

UV coordinates

Vec2Input = ...

Center point of the blur (default: [0.5, 0.5])

FloatInput = 0.1

Blur strength (default: 0.1)

number = 8

Number of blur samples (default: 8)

Node <"vec4">

Radially blurred color

const zoomed = blurRadial(texture, uv, [0.5, 0.5], 0.1)