Date: 2025-
Medium: GLSL Shader script, GPU, PC, 4K video screen,
Duration: Generative moving image, duration infinite.
A ‘shader’ is a small piece of computer code that runs on the GPU to calculate how each pixel (or vertex) should look on the screen. When we think about how 3D graphics are made, we might first think of the ‘geometry’ that provides an object’s form and scale. Shaders are the thing we we wrap around the geometry to produce the object’s color, sheen or texture. Geometry defines the shape and structure of objects using vertices and triangles, while shaders define how those surfaces look by computing color, lighting, bumps, and other effects for each pixel. A shader can make a flat object appear to have texture on its surface, because it can tell the computer to bend a ray of light near the surface of an object so that it appears bumpy or smooth.
So now that you know that…
This series of generative video works uses OpenGL Shader Language (GLSL) to produce vibrant ocean videos with no geometry. Instead of simulating the 3D shape of water, the shader runs a mathematical algorithm to fake a ray of light hitting an imaginary ocean. The wave shapes come from functions that describe how water movement might move over time, and the shader uses those mathematical functions to figure out where the surface of the water would be and what direction it would be facing. Using this information, it calculates the lighting to create the impression of a body of water. There’s no easy way to explain this, but you will have to make do with this explanation.