Skip to content
LightMix Is a Path-Traced Bedroom in Three.js

LightMix Is a Path-Traced Bedroom in Three.js

Details

Title
LightMix Is a Path-Traced Bedroom in Three.js
Published

What it is

In LightMix, change the wall color and look at the ceiling and pillows. They pick up some of the new paint color, too. Niall Arnfield built the bedroom as a 360-degree panorama you can turn through from one spot. Try the Dusk preset to move the clock to 18:15, then dim the bedside lamps to see which parts of the room they illuminate.

Arnfield’s breakdown explains where that realism comes from. Blender Cycles splits the light into four groups, including daylight and the strip behind the headboard. Three.js mixes their contributions as you move the controls. For each paintable surface, Arnfield also renders the room with that surface nearly white and again with it black. The difference captures where its reflected light lands, even on objects you never touched. Reweighting that difference lets one color change repaint both the wall and its reflection in the room’s light.

How it’s made

Kind of work
Configurator
Technology
WebGL 2
Framework & Tool
Three.jsBlender
Technique
Path Tracing

Enjoyed it? Pass it on.

Sharing is the simplest way to thank a maker. Your post credits Niall Arnfield.

Post it on

Copy post text

If a composer opens empty, copy this text. For long posts, split it across posts and keep every maker’s credit.