For this project, I used Unity's HSLS Compute Shaders to render a black hole. The script simulates a photon traveling and circulating around the black hole. I found the rough code for the simulation in this Shadertoy Script. The shading is done procedurally, for the background I used an HDRI.
-
Notifications
You must be signed in to change notification settings - Fork 0
dogefromage/unity-black-hole
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
using compute shaders in unity to render BH physically correct
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published