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
- The beverage can uses clearcoat plus metallic-roughness and normal textures.
- The perfume bottle uses transmission and volume for the glass.
- The planetary gearhead uses anisotropy on its metal surfaces.
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).