chromaticAberrationCustom
chromaticAberrationCustom(
tex,uv,redOffset?,blueOffset?):Node<"vec4">
Defined in: packages/nodes/src/analog/chromaticAberration.ts:86
Asymmetric chromatic aberration with separate RGB offsets.
Parameters
Section titled “Parameters”TextureNode <"vec4">
Source texture
Node <"vec2">
UV coordinates
redOffset?
Section titled “redOffset?”Vec2Input = ...
Red channel offset
blueOffset?
Section titled “blueOffset?”Vec2Input = ...
Blue channel offset
Returns
Section titled “Returns”Node <"vec4">
Color with custom chromatic aberration