Rendering
Real-Time Raytraced Pool
Sunlight through moving water, live in your browser.
A backyard pool rendered in real time: caustics dancing on the tiles, the surface folding the world above it, pool lights at night, and a fountain whose spray catches the low sun and makes a true rainbow. Two demos: a fully live pool you can splash in, and a relighting viewer that lets you re-light a film-quality path-traced render instantly.
Demo 1 · Live pool
Drag to look around, switch day and night, splash, and turn on the fountain to make a rainbow.
Best on a desktop or laptop in current Chrome or Edge. Phones run a lighter version.
Demo 2 · Relight
Drag the sun across a June day, or switch on, dim and recolour every light at night, and aim up to two spotlights by clicking.
About 60 MB of light layers. Needs WebGL 2; best on a desktop.

Demo 1: a fountain's spray catches the low sun and shows a rainbow.




Relight: film-quality light, changed instantly
Path tracing follows millions of light paths per pixel, which is why it looks real and why a single frame normally takes minutes. Relight keeps that quality and makes it interactive.


How it works
Every light, rendered alone
Each light group was path-traced on its own in Blender Cycles, in white, as a linear layer: 36 spotlight aims, 34 sun positions, with caustics from photon bakes of 20 to 95 million photons each.
Light adds up exactly
Light is linear, so any mix of lights equals the sum of those layers. Your browser adds them on the GPU every frame, so the mix is exact, not a cheap imitation.
Colour handled like a camera
Exposure, white balance and an ND filter are applied in linear light before the film-like tone curve, which is baked into a 48³ colour table.
Checked against the real render
The live layer sum matches a full path-traced render to within 0.02% on average, and the page lists exactly what is exact, what is approximate and what was left out.
Why it is cool
Minutes per frame, now instant
A look that takes a renderer minutes per frame responds to your mouse immediately, in an ordinary browser tab.
Real caustics you can steer
The bright, wobbling light patterns on the pool floor come from tens of millions of traced photons, and move as you aim the spotlight.
Honest about its limits
Instead of hiding approximations, it shows its own accuracy numbers. What you see is what the full renderer would make.
- Two live demos in your browser
- Real water, light and caustics
- Fountain with a physically placed rainbow
- Exact relighting of path-traced renders
- Day, night and spotlights you aim