← The Lab

05 / Three.js · Environment

Environment Map

Environment map lab — vintage flight helmet on a wood stand in a snowy cabin, lit by HDR reflections

Lab notes

This experiment uses an HDR environment map as the light source. Leather, glass, and wood pick up the same cabin and snow that appear in the background, so the model feels placed in the room rather than pasted on top of it.

Techniques

Image-based lighting via environment maps. PBR materials responding to the same panorama used as background. Live controls for intensity, blur, and rotation so composition and lighting stay editable.

Stack

Three.js, HDR / environment mapping, PBR materials, lil-gui, OrbitControls. Static WebGL demo on GitHub Pages.