GPU Planetary Rendering by simeonradivoev - 10

Shaders & Effects

GPU atmosphertic scattering and planet generation in Unity 3D

Unity 2019.2.8f1Apache License 2.0Updated 51 days agoCreated on October 8th, 2019
Go to source

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


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


  • A GPU with compute shader capability
  • A GPU with async GPU reading capability


Screenshot1 Screenshot2 Screenshot3 Screenshot4 Screenshot5 Screenshot6

Show all projects by simeonradivoev