GPU

A path tracer on the graphics card, the default renderer.

Image traced on the GPU
Image traced on the GPU

The GPU renderer is a path tracer: each pixel adds up light paths that leave the camera, bounce around, go through glass and reflect off surfaces. The whole image shows from the start and gets cleaner with every sample.

It is the default. It needs a browser with WebGPU; without it, the option is disabled in Renderer and the editor uses the CPU.

What changes from the CPU

  • Indirect light, darkened corners, glass and reflections come from the paths themselves, with no group to turn on.
  • A noise filter cleans the image at the end, and can be redone without rendering again.
  • Color gets automatic exposure, white balance and camera exposure.
  • Effects get lens, atmosphere and rounded edges.

Live adjustments

With the image ready, changing the noise filter, the bloom, the rays, the color fringing or the distortion shows the result without rendering again.

Open source

The renderer is the @tinypoly/gpu-renderer package, under the MIT license.

In this section