Glossary · Materials & lighting

Ray tracing and path tracing

In short

Ray tracing produces an image by following rays of light through the scene: where they hit, reflect, refract or are blocked. Path tracing is a form of it that averages many random light paths and so produces highly realistic images [1].

Ray tracing and rasterisation

There are two basic ways to produce a 3D image:

RasterisationRay tracing / path tracing
Principletriangles are projected onto the screen and shadedlight paths are traced through the scene
Strengthvery fast, real timereflections, glass, soft shadows, indirect light
Typical usebrowser configurators, gamescatalogue images, animation, advertising
Example in BlenderEEVEE [2]Cycles [1]

Blender describes Cycles as a physically based path tracer for production rendering [1] and EEVEE as a real-time engine based on rasterisation that is explicitly not a path tracer [2].

Ray tracing in the browser?

It is possible, but rarely the first choice for configurators. A clean path-traced image needs many passes per pixel; it takes time to become noise-free, and every change starts again. That sits badly with a model visitors constantly rotate and rebuild. WebGPU opens new options with general-purpose computation on the GPU [3], but the basic cost hardly changes.

What this means for you

  • Catalogue, advertising, marketplaces: pre-rendered images with path tracing, as realistic as needed.
  • Configurator and 3D view: real-time rendering with PBR materials, environment light and, where useful, baked detail.
  • Both from one model: a well-prepared model can serve both routes; materials then need tuning for each engine.

For configurators the usual split is therefore: ray tracing for images, rasterisation for interaction.

Our example configurators render in real time with rasterisation; they do not use ray tracing. The 3D product viewer page covers the real-time route.

Related terms

  • Real-time rendering

    Real-time rendering produces images fast enough for a 3D model to respond smoothly to input, usually by rasterisation as in Blender's EEVEE. Offline rendering spends as long as needed per image, for example path tracing in Cycles. Browser configurators render in real time.

  • Baking

    Baking means storing expensively computed lighting or surface information in image files (textures) in advance. The browser then only displays it instead of recalculating it every frame.

  • PBR (physically based rendering)

    PBR (physically based rendering) is a rendering approach that describes materials with physically motivated values such as base colour, metalness and roughness. They then look believable under changing light and similar across different viewers.

  • WebGPU

    WebGPU is a browser interface that lets web pages use the graphics card for rendering and general computation. It is regarded as the successor to WebGL and gives access to more modern GPU features.

Sources

  1. Blender Manual: Cycles
  2. Blender Manual: EEVEE
  3. MDN Web Docs: WebGPU API

← All terms in the glossary