TSL Earth
The Earth with day, night lights, clouds and atmosphere
By three.js authors. 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.
About this scene
The Earth in space: the day side with oceans and continents, city lights glowing on the night side, a layer of clouds and a thin blue atmosphere at the rim. The day–night blend, clouds and atmosphere are built in TSL node materials. Drag to turn the globe. An official three.js example.
How it is built
- 01
Day meets night
The angle to the sun decides how much of the day map or the city-lights map shows, with a soft twilight between.
- 02
Clouds and relief
One packed texture carries bump, roughness and clouds, so oceans shine and land does not.
- 03
A thin atmosphere
A Fresnel term adds the blue glow at the edge of the globe.
Questions
- Who made this?
- It is an official three.js example (webgpu_tsl_earth), made by the three.js authors and released under the MIT licence with the library. ThreeJS.net hosts a copy of the page with a small embed script; its textures and models load from the three.js repository at release r187.
ThreeJS.net

