Skip to main content
Annual billing

ThreeJS.net annual plans cost about 50% less than 12 monthly payments

Save

6:51 — A Room at Dawn

A photoreal bedroom at first light, built entirely from code

Source on GitHub

By Leon Lin. Open source under the MIT licence; hosted here with its licence, unmodified apart from a small script that lets ThreeJS.net embed it. The prompt below is our description of the work, not the author's. Third-party material: “Meditation Impromptu 02” Kevin MacLeod (incompetech.com), CC BY 4.0; birdsong Silas S. Brown (public domain); leaves Gravity Sound, CC BY 4.0.

About this scene

A bedroom at first light, rendered in the browser: crumpled sheets, a desk, plants on the sill and sunlight creeping across the wall. No model files, no image textures and no HDRIs; every mesh, texture and light value is generated.

How it is built

  1. 01

    Photoreal from code

    Every object, from the bed sheets to the cork board, is generated geometry with procedural materials.

  2. 02

    Light does the work

    A baked light field and a low sun through the window give the soft, believable morning light.

Questions

Who made this?
Leon Lin (Leonxlnx), code under the MIT licence. Music: “Meditation Impromptu 02” by Kevin MacLeod (incompetech.com), CC BY 4.0; birdsong: Silas S. Brown, public domain; leaves: Gravity Sound, CC BY 4.0.

More examples