blurRadial
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.
Parameters
Section titled “Parameters”Source texture
Node <"vec2">
UV coordinates
center?
Section titled “center?”Vec2Input = ...
Center point of the blur (default: [0.5, 0.5])
strength?
Section titled “strength?”FloatInput = 0.1
Blur strength (default: 0.1)
samples?
Section titled “samples?”number = 8
Number of blur samples (default: 8)
Returns
Section titled “Returns”Node <"vec4">
Radially blurred color
Example
Section titled “Example”const zoomed = blurRadial(texture, uv, [0.5, 0.5], 0.1)