dogefromage / unity-black-hole

using compute shaders in unity to render BH physically correct

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

using compute shaders in unity to render BH physically correct


Languages

Language:C# 100.0%