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: 25 days ago
JSON representation

GPU atmosphertic scattering and planet generation in Unity 3D

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 Application

Updated 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-400.jpeg)](https://simeonradivoev.com/assets/img/Zbwkr3aFsf-800.png)
[![](https://simeonradivoev.com/assets/img/zrStoN3mzM-200.jpeg)](https://simeonradivoev.com/assets/img/zrStoN3mzM-800.png)
[![](https://simeonradivoev.com/assets/img/fJlfvEUhxE-200.jpeg)](https://simeonradivoev.com/assets/img/fJlfvEUhxE-800.png)
[![](https://simeonradivoev.com/assets/img/awqnTY7y_q-200.jpeg)](https://simeonradivoev.com/assets/img/awqnTY7y_q-800.png)
[![](https://simeonradivoev.com/assets/img/rIhbBKNBZt-200.jpeg)](https://simeonradivoev.com/assets/img/rIhbBKNBZt-800.png)
[![](https://simeonradivoev.com/assets/img/1VfYC4qhS3-200.jpeg)](https://simeonradivoev.com/assets/img/1VfYC4qhS3-800.png)
[![](https://simeonradivoev.com/assets/img/S5tlX4po_Y-200.jpeg)](https://simeonradivoev.com/assets/img/S5tlX4po_Y-800.png)