New plugin: Photism Meters. 21 audio meters in one window.See it

Glossary · LIVE VISUALS + VJ CRAFT

Fragment shader

Also called: pixel shader

The GPU program that computes the color of each pixel, where most of the look of real-time visuals is authored.

The fragment shader answers one question, in parallel, millions of times per frame: what color is this pixel? Everything on screen funnels through one, and in shader-art practice the fragment shader often is the entire artwork, generating geometry-free imagery from coordinates, time, and math.

The form has signature techniques: distance fields for shapes, noise for organic texture, raymarching for 3D scenes without triangles, domain warping for the melted-liquid look. Audio-reactive work feeds analysis values in as uniforms, variables the shader reads each frame. Photism’s shader scene hands your fragment shader the kick, sub, mids, highs and overall energy this way, plus the five palette colors.

Post effects are fragment shaders too: bloom, grain, and color grading are per-pixel programs run over the finished image, which is how a whole look can change without touching the scene.