Coding Adventure: Procedural Moons and Planets
From Sebastian Lague · · 22 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Description
Trying to generate some simple little moons and planets to fly about and explore. Inspired by the (incredible!) game Outer Wilds.
Watch the next solar system video: https://youtu.be/DxfEbulyFcY Previous solar system video: https://youtu.be/7axImc1sxa0
Project Files: The Unity project is available on github here: https://github.com/SebLague/Solar-System/tree/Episode_02 If you'd like to support my work and get early access to new projects, you can do so here on Patreon: https://www.patreon.com/SebastianLague
Resources: https://www.redblobgames.com/x/1842-delaunay-voronoi-sphere/ https://www.iquilezles.org/www/articles/smin/smin.htm https://www.medium.com/@bgolus/normal-mapping-for-a-triplanar-shader-10bf39dca05a https://www.medium.com/game-dev-daily/four-ways-to-create-a-mesh-for-a-sphere-d7956b825db4 https://www.github.com/keijiro/KinoBloom https://www.textures.com
Music: "Brief Respite" by Antti Luode "In the Clouds" by Falls "When Rain Comes" by Tide Electric "Reflections of Space and Time" by AEROPLANES "Liminal" by Chelsea McGough "Frontier" by Shimmer "Sun and the Moon" by Moments
Sections: 0:00 Intro 0:25 Spheres 3:09 Craters 8:10 Noise 10:40 Triplanar Mapping 14:21 Planet Shape 15:28 Ocean 17:30 Planet Shading 20:06 Solar System