https://github.com/simeonradivoev/gpu-planetary-rendering
GPU atmosphertic scattering and planet generation in Unity 3D
https://github.com/simeonradivoev/gpu-planetary-rendering
atmosphere charp compute-shader graphics hlsl large-scale planet postprocessing shader unity unity3d
Last synced: 25 days ago
JSON representation
GPU atmosphertic scattering and planet generation in Unity 3D
- Host: GitHub
- URL: https://github.com/simeonradivoev/gpu-planetary-rendering
- Owner: simeonradivoev
- License: apache-2.0
- Created: 2019-10-08T18:40:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T23:01:36.000Z (about 1 month ago)
- Last Synced: 2025-04-25T13:48:34.567Z (26 days ago)
- Topics: atmosphere, charp, compute-shader, graphics, hlsl, large-scale, planet, postprocessing, shader, unity, unity3d
- Language: C#
- Size: 13.9 MB
- Stars: 191
- Watchers: 14
- Forks: 22
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Unity Planet Rendering
A full-scale planetary rendering in Unity 3D. Using precomputed atmospheric scattering as an image effect. Generating large planets with GPU noise, using compute shaders.
Atmosphere Scattering Based on Eric Bruneton's [Precomputed Atmospheric Scattering](https://www.youtube.com/watch?v=0I7Af2Ev5iQ)
# Instructions
The main scene is called `PlanetSphereTest`.
The camera Controls are as follows:
* E/Q - row camera
* W/A/S/D - move camera
* Mouse Scroll - Increase/Decrease camera speed
* Space - Show/Hide mouse
* C - Take Screenshot at Double the Screen Resolution
* X - Exit ApplicationUpdated to Unity 2019.2.8f1
# Requirements
* A GPU with compute shader capability
* A GPU with async GPU reading capability# Screenshots
[](https://simeonradivoev.com/assets/img/Zbwkr3aFsf-800.png)
[](https://simeonradivoev.com/assets/img/zrStoN3mzM-800.png)
[](https://simeonradivoev.com/assets/img/fJlfvEUhxE-800.png)
[](https://simeonradivoev.com/assets/img/awqnTY7y_q-800.png)
[](https://simeonradivoev.com/assets/img/rIhbBKNBZt-800.png)
[](https://simeonradivoev.com/assets/img/1VfYC4qhS3-800.png)
[](https://simeonradivoev.com/assets/img/S5tlX4po_Y-800.png)