[ Planet Mesh Generation ]
Inspired by some YouTube videos (see references), I decided to implement a simplex noise-based planet mesh generator in Unity. The planet mesh is discretized on a quad-tree, enabling real-time LOD computation. However, I haven't fixed the seams that appear between adjacent LOD levels.
[ Dynamic LOD computation ]
[ Atmospheric scattering shader ]
I also experimented with a customizable atmospheric scattering shader for the planet. I really love the sunrise result.
[ References ]
- [Unity] Procedural Planets (E03: layered noise) - Sebastian Lague. 2018. YouTube. youtube.com/watch?v=uY9PAcNMu8s
- 3D World Generation: #4 (Planetary LOD): Generating Procedural Planets with Level-of-Detail! - SimonDev. 2020. YouTube. youtube.com/watch?v=HIYs7Hoq2yQ
- Coding Adventure: Atmosphere - Sebastian Lague. 2020. YouTube. youtube.com/watch?v=DxfEbulyFcY