Skip to content

chromaticAberrationRadial

chromaticAberrationRadial(tex, uv, amount, center): Node<"vec4">

Defined in: packages/nodes/src/analog/chromaticAberration.ts:50

Radial chromatic aberration - increases toward edges. More realistic lens distortion simulation.

Parameters

tex

TextureNode<"vec4">

Source texture

uv

Node<"vec2">

UV coordinates

amount

FloatInput = 0.01

Maximum aberration at edges

center

Vec2Input = ...

Center point of the effect

Returns

Node<"vec4">

Color with radial chromatic aberration