Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 491 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 491 Bytes

unity-black-hole

Rendering a black hole using Raymarching

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.

black hole