File: RGBShiftNode.md | Updated: 11/15/2025
Post processing node for shifting/splitting RGB color channels. The effect separates color channels and offsets them from each other.
RGBShiftNode is an addon, and must be imported explicitly, see Installation#Addons.
import { rgbShift } from 'three/addons/tsl/display/RGBShiftNode.js';
Constructs a new RGB shift node.
textureNode | The texture node that represents the input of the effect.
---|---
amount | The amount of the RGB shift. Default is 0.005.
angle | Defines the orientation in which colors are shifted. Default is 0.
The amount of the RGB shift.
Defines in which direction colors are shifted.
The texture node that represents the input of the effect.
This method is used to setup the effect's TSL code.
builder | The current node builder.
---|---
Overrides: TempNode#setup