Skip to content

chromaticAberrationCustom

chromaticAberrationCustom(tex, uv, redOffset?, blueOffset?): VarNode <"vec4", JoinNode <"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

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

Color with custom chromatic aberration