Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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: 2021-12-18T17:10:23.000Z (about 3 years ago)
- Last Synced: 2024-11-10T19:35:21.175Z (3 months ago)
- Topics: atmosphere, charp, compute-shader, graphics, hlsl, large-scale, planet, postprocessing, shader, unity, unity3d
- Language: C#
- Size: 13.9 MB
- Stars: 186
- Watchers: 15
- 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
![Screenshot1](http://i.imgur.com/Vp1Y5DO.jpg)
![Screenshot2](https://i.imgur.com/hEKe1zX.jpg)
![Screenshot3](https://i.imgur.com/yWfOuzo.png)
![Screenshot4](https://i.imgur.com/vvhgjLo.png)
![Screenshot5](https://i.imgur.com/juaiHmq.png)
![Screenshot6](https://i.imgur.com/yEJm9Ci.jpg)