13 karma · joined Oct 14, 2020 (6y ago) · 3 submissions
comment 5y ago · link · parent
The first gif of that room in the article shows exactly the problem: rasterizing works by transforming a bunch of triangles from world space to view space.
This works with rectilinear projection because each triangle can be transformed into a different shaped triangle, based on the perspective of the camera. You can't transform a triangle into a "bendy" triangle. And the screenshots show "bendy" lines.
So, if you want a "fisheye" effect in rasterization, you first need to render a rectilinear image, and then distort it, leaving you with a blurry center due to a lack of resolution.
comment 6y ago · link · parent
You'll find similar shaders on shadertoy: https://www.shadertoy.com/results?query=black+hole
The top one, "Gargantua With HDR Bloom", looks very nice.
This one looks good too and shows redshift more extremely: https://www.shadertoy.com/view/ws2GWD
And this one shows light trajectories: https://www.shadertoy.com/view/wdt3zM