What is Chromatic Aberration?

Chromatic aberration (CA) is an optical phenomenon where a lens fails to focus all wavelengths of light to the same point, causing color fringing at high-contrast edges. In photography and cinematography, it appears as red/blue or red/cyan color shifts around the edges of objects. In digital post-production, chromatic aberration is often deliberately added as a stylistic effect to evoke a cinematic, analog, or glitchy aesthetic.

Types of Chromatic Aberration

Digital Chromatic Aberration

In digital post-production, chromatic aberration is simulated by offsetting the red, green, and blue channels of an image by different amounts. A simple implementation shifts the red channel left and the blue channel right (or vice versa), creating the characteristic RGB split look. More sophisticated implementations use radial displacement that increases from the center, mimicking real lens behavior.

Implementation with GLSL

Chromatic aberration is one of the most popular GLSL shader effects because it is computationally simple yet visually dramatic. The fragment shader samples the texture three times at slightly different UV offsets — once for each RGB channel. The offset amount controls the intensity, and it can be varied per-frame for animation or beat synchronization.

Creative Applications

Chromatic aberration is widely used in music videos, title sequences, horror and sci-fi films, gaming, and social media content. When combined with other effects like grain, vignetting, and lens distortion, it creates a convincing analog film look. When pushed to extreme values, it produces glitch-art aesthetics popular in electronic music videos.

Chromatic Aberration in BeatSync PRO

BeatSync PRO includes chromatic aberration as one of four GPU shader effects. The CA intensity is driven by beat confidence values from the beat detection pipeline — harder beats trigger stronger RGB separation, creating a pulsing visual rhythm that locks to the music. The effect ramps up on beat onset and decays smoothly over 100-200ms, preventing harsh visual pops.

Try BeatSync PRO