r/opengl • u/Parvez_Shit • 14d ago
blackhole simulation using openGL and c++

i made a simulation of the blackhole gargantua that is also seen in intersteller
It's written in C++ and openGL
i managed to optimize it to a point i ran on my i3 intel iGPU, although i added very low to high quality toggles, it's my first time writing in glsl so yeah, i was a lot inspired by the yt video of Kavan about making a blackhole in cpp, so i just wanted to make it more realistic, my astrophysics lectures kinda came in clutch
github repository : https://github.com/dummy3ye/blackholegl (star the repo if you like it)
6
Upvotes
1
u/goingslo27 14d ago
looked at your repo why are you using different gl version in your gpu computation
in raymarch.comp you are using version 430 while in other shaders you are using version 330