File: module-RGBShiftShader.md | Updated: 11/15/2025
RGBShiftShader is an addon, and must be imported explicitly, see Installation#Addons.
import { RGBShiftShader } from 'three/addons/shaders/RGBShiftShader.js';
RGB Shift Shader Shifts red and blue channels from center in opposite directions Ported from https://web.archive.org/web/20090820185047/http://kriss.cx/tom/2009/05/rgb-shift/ by Tom Butterworth / https://web.archive.org/web/20090810054752/http://kriss.cx/tom/
amount: shift distance (1 is width of input) angle: shift angle in radians