Reference: Benedikt Bitterli, Rendering Resources, CC0. Tungsten render, exposure 1, PBR Neutral, sRGB as on the lab's sheets, 512 px. It lines up with the live view only at the default camera.
RAY TRACED
PATH TRACED
↔
ms per frame-
Ray GPU-
Path GPU-
Photon GPU-
Samples per pixel-
Rays per second-
Photon map-
Render size-
View
Wipe against
Water
Correctness checks
Running on this GPU. The live picture stops until they finish.
RAY TRACED
Whitted tracing: one fixed ray per pixel, no accumulation, reflection and refraction both followed at every dielectric, one shadow ray to the light. Light through water or glass comes from a caustic map: a grid of light paths, 2^20 by default, is refracted forward and splatted bilinearly onto the walls, floor, ceiling and blocks. It is rebuilt every frame while the water moves; on still water it averages 64 jittered grids and stops. The Checks hold it within 2% of the photon map on the floor.
Known errors: no indirect light, so shadows and corners stay black. Each grid path follows only its stronger Fresnel branch after the first crossing, and the map does not test whether a crest hides the surface from the lamp.
The map treats the light as a point unless shadows are Sampled. Spheres receive no map. Rough metal reflects as a mirror, and wax is drawn as a diffuse surface.
Same family as the beach's photons pass (point splat, fixed-point atomicAdd, bilinear), not the same method. The beach sends a parallel sun onto one floor map and normalises Schlick against flat water. This one takes a point light, exact Fresnel, a map per wall and block, the reflected branch too, and a linear read.
PATH TRACED
Progressive path tracing with next event estimation and MIS, Russian roulette from the fourth vertex, stochastic Fresnel with the n squared radiance scale. It is unbiased for what it can sample, up to the bounce limit, with the math of the project's reference kernels.
The hard problem: a shadow ray cannot pass a smooth surface, so light under the water arrives only when a random bounce happens to refract straight into the lamp. The sheet's lamp is 5 x 4 mm. That converges far too slowly to watch, which is why the reference used SPPM.
Moving water uses an exponential average per pixel, each new sample at weight 1/8, worth about 15 samples. It is biased while moving, and the page says so.
The bounce limit is a bias too. On the water box's floor, with a large lamp, 16 bounces, the default there, read about 0.2% below 64, and 8 read about 5% below.
PHOTONS
The path tracer plus a progressive photon map for light that reaches a diffuse surface through one or more smooth bounces. Light paths are traced from the lamp and stop at their first diffuse point, added to a per-surface map as a running mean over passes.
No double count: a path that leaves a mapped diffuse point and reaches the light only through smooth bounces is dropped, and the map's value is added there instead. Direct light stays with next event estimation. The Checks prove this with a seeded double count.
Bias: the kernel stays one map texel, 2 mm on a wall, so this converges to the map's resolution and not to a point. Surfaces with no map keep their own caustic paths in the path tracer.