Unity - realtime black hole simulation

Опубликовано: 03 Июнь 2026
на канале: Acetix
589
12

Twitter:   / _acetix  

This simulation shows realistic space distortion and a volumetric accretion disk. Everything in this scene rendered via raymarching on a compute shader.
The accretion disk might not look like its volumetric but I'll show that in another video.
Inside the black hole are still some leftovers from the lighting calc and the flicker effect.. so simply ignore that.
The shader is based on the folllowing articles:
Ray marching a black hole:   / raymarching-simulating-a-black-hole  
Volumetric raymarching: https://wallisc.github.io/rendering/2...
Volumetric raymarching in Unity URP:    • Unity URP Tutorial - Volumetric Raymarchin...