Scene Controls

WebGPU Path Tracer

Source

This is a compute shader-based path tracer featuring a physically-based BRDF. You can interactively adjust material properties such as roughness, metallic, and color.

The renderer uses two Next Event Estimation (NEE) rays: one for the sun and one for direct lighting. You can change the sun direction or hide the sun below the floor to explore lighting with only direct light.

Loading

Utah teapot model by Martin Newell. Learn more

Control Action
W / A / S / D Move camera forward / left / backward / right
Q / E Move camera up / down
Mouse Look around (click canvas to focus)
ESC Exit camera look mode