Blackhole Lensing

Before I specify my concern, I would want to clarify that there was no material/shaders category so I put graphics.

I’m not an expert at material/shader(s) which is why I’m asking for support.
I know I could make a simple glass material but I have a ring/disc around the main shader and it should go around like this:
2024_08_30_0qr_Kleki

The ring warps around the lens which is my main objective if it isn’t achievable then I’ll give it up.
But if it’s possible, please help me out and show how it’s done.

if you already have an accretion disc, all you have to do would be make the center hole part transparent so flax renders everything behind it, and then sample the pixels behind the hole part and offset them, you can offset them on the basis of the screenspace normal to fake the einstein ring. If you want doppler effect, just push the offset more to one side of the black hole, it wont be mathematically accurate, but it will run well.