Atmosphere
What light passes through: smoke, clouds and curtains of color, marched through step by step and lit from inside.
Take them in this order: each one uses what the ones before it showed. The same shaders, newest first, are on the topic’s page.
Sign in and the exercises you pass are marked here. Nothing is kept otherwise.
- Step 1 of 3
Smoke Stack
The kiln's chimney at night, and the smoke rising out of it, lit silver by the moon behind it and orange by the fire below. The smoke is a density at every point, so each ray walks through it in steps, and each step marches again toward the moon and the fire to find how much light reaches it: thick smoke shadows itself, and its edges glow where the moon shines through them. Each time the kiln is stoked a thick column rises up the chimney, and the wind swings the plume over and back across the minute.
Teaches: Volumetric clouds: light marching, self-shadowing, scattering
Builds on Cracked Clay, Kiln Fire
Read the page Open in the playground
5 exercises
- Light marching Make this step · passed
- Scattering forward Make this step · passed
- Smoke stack Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 2 of 3
Aurora
The northern lights over a mountain ridge, mirrored in a still lake. Each curtain is a line folded by noise on a high layer of air, the same line on every layer above it, so a ray marched up through 48 layers finds a wall of light with a sharp lower edge; stars sit behind it on a grid of directions, and a gamepad's stick turns the view.
Teaches: Thin noise curtains marched through, stars
Builds on Flowing Color Field, Floating 3D Scene, Cracked Clay, Endless Terrain
Read the page Open in the playground
5 exercises
- A curtain is a line on a layer Make this step · passed
- Marched up through the layers Make this step · passed
- Six curtains, rays and surges Make this step · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 3 of 3
Sunset
A sky with no colors written into it. Every pixel looks along a ray through a round shell of air and adds up the sunlight the air scatters towards the eye, blue nearly six times as strongly as red. Sunlight that has crossed a lot of air has lost its blue, so the low sun turns orange and red, haze puts a white glow round it, ozone turns the dusk violet, and three rows of hills fade with the air in front of them. The sun sinks under the horizon and rises again once a minute.
Teaches: Rayleigh and Mie scattering, a sky from the air it passes through
Builds on Floating 3D Scene, Smoke Stack, Wood & Marble, Aurora
Read the page Open in the playground
6 exercises
- Rayleigh: the blue Make this step · passed
- The light's own path Make this step · passed
- Mie: the haze Make this step · passed
- Sunset Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
Other paths Start here Noise & Texture Shapes & Symmetry 3D Scenes Particles & Simulation Light & Materials Fractals Geometry Sound & Rhythm


