← The Lab

03 / Three.js · PBR

Materials Lab

Materials lab — 3D shapes with wood and glass materials over an HDR street environment, with a parameter GUI

Lab notes

This experiment explores MeshPhysicalMaterial under real HDR lighting. Roughness, metalness, transmission, and clearcoat are exposed in a live panel so you can see how physical parameters change the read of wood, glass, and coated surfaces.

Techniques

PBR shading with roughness and metalness. Transmission and IOR for glass-like volumes. Clearcoat and related physical layers. Environment-map lighting for reflections and bounced light.

Stack

Three.js, MeshPhysicalMaterial, HDR environment maps, lil-gui. Static WebGL demo on GitHub Pages.