Skip to content

chromaticAberrationCustom

chromaticAberrationCustom(tex, uv, redOffset?, blueOffset?): Node <"vec4">

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

Asymmetric chromatic aberration with separate RGB offsets.

TextureNode <"vec4">

Source texture

Node <"vec2">

UV coordinates

Vec2Input = ...

Red channel offset

Vec2Input = ...

Blue channel offset

Node <"vec4">

Color with custom chromatic aberration