Chromatic aberration is a lens artifact where colors fail to converge at a single point, causing color fringing. To replicate it in a shader, three sets of UV coordinates are created with slight offsets, each sourcing one color channel (R, G, B). The offsets are multiplied by the distance from the screen center to mimic how the effect is strongest at image edges. Commonly used in games to signal player damage or visual distress.
•1m watch time
Sort: