Glossary · Materials & lighting

PBR (physically based rendering)

In short

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 [1][2].

The three core values

The metallic-roughness model used by glTF needs only a few values [1][2]:

  • Base colour: the diffuse colour for non-metals, the reflection colour for metals [1].
  • Metalness: 0 for non-metals such as plastic, wood or paint; 1 for metal. Values in between are mainly for transitions, such as rusting metal [1].
  • Roughness: 0 is mirror-smooth with sharp reflections, 1 is matt [1].

In glTF, metalness and roughness can share one texture: roughness in the green channel, metalness in the blue channel [2].

Why PBR matters for products

Materials used to be tuned by eye for one particular lighting set-up. Change the light and they look wrong. With PBR a material responds plausibly even when a visitor turns the product or the surroundings change. To keep colours as close as possible to the base colour, the Khronos Group released the "PBR Neutral" tone mapper for product visuals in 2024 [4].

Extended material properties

Glass, car paint, fabric or brushed metal need more than the core model. Extensions and extended materials cover clearcoat, transmission for glass, sheen for fabric and anisotropy for brushed metal [3]. They cost processing time, though: three.js notes that its extended material has a higher per-pixel cost than simpler materials [3].

From our library

All three are example configurators with fictional products. The guide CAD to web 3D lists what to supply for believable materials (photos, RAL codes, samples).

Related terms

  • Texture maps

    Texture maps are images that assign material properties point by point across a 3D surface: colour, surface structure, roughness, metalness or shading. They sit on the model through UV coordinates.

  • HDRI and image-based lighting

    Image-based lighting (IBL) lights a 3D model with a surrounding image of an environment rather than only individual lamps. Often this is an HDRI, a panoramic image with a high dynamic range. Reflections and soft light then look natural.

  • glTF

    glTF (GL Transmission Format) is a royalty-free Khronos Group specification for the efficient transmission and loading of 3D scenes and models. In 2022 glTF 2.0 became the international standard ISO/IEC 12113:2022.

  • Transmission (glass materials)

    Transmission describes materials that light passes through, such as glass or clear plastic; the surface stays visible and can still reflect. In glTF it uses KHR_materials_transmission; in three.js it costs more per pixel.

  • Tone mapping

    Tone mapping translates the brightness values of a 3D scene into a screen's range so highlights do not blow out. three.js offers ACES Filmic, AgX and Neutral among others; Khronos PBR Neutral (2024) keeps product colours close to the base colour.

Examples to try

Example configurator · fictional product

Beverage can 330 ml

A beverage can with three flavour designs, matt or gloss finish, condensation, single can, 4-pack or 6-pack – to turn and open.

Packaging · Colours · Materials and finishes · Options, modules and accessories

Example configurator · fictional product

Perfume bottle and box

A perfume bottle with box: glass colour, cap, label with your own name, open and unpack the box – with an exploded view.

Packaging · Colours · Materials and finishes · Own text or logo

Example configurator · fictional product

Planetary gearhead

A planetary gearhead for sales and training: running drive with adjustable input speed, cut-away and exploded views, item numbers and technical data as sample values.

Industrial cells & machines · Opening and mechanism · Exploded or cut-away view · Notes on the model

More in our guides

Sources

  1. Filament: Physically Based Rendering in Filament
  2. Khronos Group: glTF 2.0 Specification
  3. three.js docs: MeshPhysicalMaterial
  4. Khronos Group: Khronos PBR Neutral Tone Mapper (press release, 16 May 2024)

← All terms in the glossary