Coding Adventure: Atmosphere @SebastianLague
Coding Adventure: Atmosphere  @SebastianLague
Uploaded August 2020 | Updated November 2026, 1 week ago
The planets in my solar system project are looking a bit hostile and uninviting, so in this video I'll be attempting to add some cozy atmospheres around them.

Watch the previous solar system video: here: youtu.be/lctXaT9pxA0

Some notes:
• I made a little build where you can play with the atmosphere settings yourself, which you can find over here if you're interested: sebastian.itch.io/atmosphere-experiment

• A number of knowledgeable people have pointed out in the comments that reality is not nearly as simple as my little diagram around the 4 and a half minute mark, and that light does not literally wiggle up and down like a wave, so please note that the diagram is incorrect!

• This project was inspired by the game Outer Wilds, which I highly recommend playing!

Project Files:
The project is available over here: github.com/SebLague/Solar-System
If you'd like to get early access to future project files (and support the channel!) you can find my Patreon page here: patreon.com/SebastianLague

Resources:
developer.nvidia.com/gpugems/gpugems2/part-ii-shading-lighting-and-shadows/chapter-16-accurate-atmospheric-scattering
web.archive.org/web/20240828183804/http://nishitalab.org/user/nis/cdrom/sig93_nis.pdf
physics.stackexchange.com/questions/28895/why-is-the-sky-not-purple
en.wikipedia.org/wiki/Scattering

Music:
"Brief Respite" by Antti Luode
"When Rain Comes" by Tide Electric
"Door to Door Disco" by Bright Seed
"Reflections of Space and Time" by AEROPLANES
"In the Atmosphere" by Bad Snacks
"Reflections" by MK2
"Nidra in the Sky with Ayla" by Jesse Gallagher
"Far Away" by Antti Luode
"Frontier" by Shimmer

Sections:
00:00 Intro
00:32 Setup
02:46 Resources
03:25 Light Scattering
06:15 Coding the Shader
11:55 Initial Results
13:10 Adding Colour
15:20 Colourful Results
16:40 Optimisation
17:39 Stars
18:50 Exploration
Coding Adventure: AtmosphereUnity Create a Game Series (E24. Menu)Unity Gradient Editor (3/3)Introduction to Game Development (E21: coroutines)Coding Adventure: Improving my Rubiks Cube SolverIntroduction to Game Development (E05: operators and if statements)[C#] Delegates and Events (E01: delegates)Introduction to Game Development (E11: prefabs and instantiation)[Unity] Procedural Planets (E04: multiple noise filters)Simulating 256 Bytes of RAMGamedev Maths: point in triangleUnity Create a Game Series (E12. finishing the map generator)
Sebastian Lague |

Coding Adventure: Atmosphere

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER