Skip to content

chromaticAberrationRadial

chromaticAberrationRadial(tex, uv, amount?, center?): VarNode <"vec4", JoinNode <"vec4">>

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

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

TextureNode <"vec4">

Source texture

Node <"vec2">

UV coordinates

FloatInput = 0.01

Maximum aberration at edges

Vec2Input = ...

Center point of the effect

VarNode <"vec4", JoinNode <"vec4">>

Color with radial chromatic aberration