diff --git a/shaders/module/aberration.frag b/shaders/module/aberration.frag index d7efcf0..7253cf3 100644 --- a/shaders/module/aberration.frag +++ b/shaders/module/aberration.frag @@ -3,8 +3,8 @@ vec2 caOffset = vec2(2 * pixelSize / viewWidth, 0); vec3 aberrate() { vec2 offset = caOffset * cos(texcoord * 3.14); - float red = texture2D(gcolor, texcoord - offset).r; - float blue = texture2D(gcolor, texcoord + offset).b; + float red = texture2D(gcolor, texcoord + offset).r; + float blue = texture2D(gcolor, texcoord - offset).b; return vec3(red, 0, blue); }