Skip to content

przemyslawzaworski/Unity-Million-Spheres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity: Million Spheres

Author: Przemyslaw Zaworski

Licence: MIT https://mit-license.org/

Usage: File -> Open Project. Then open the scene MillionSpheres. Play.

Demo presents efficient rendering of million animated spheres. Average performance on RTX 2070 is about 250 FPS.

To achieve this effect I combined standard rasterization with GPU based raycasting.

For simplicity purposes, spheres use simple diffuse lighting, without casting or receiving shadows.

C# script and shader have only 110 lines of code in total.

alt text

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published