raytracing a black hole

No.12020777 ViewReplyOriginalReport
I made a video explaining how to raytrace black holes: https://youtu.be/7dakiD1YPJI

The idea is to treat light rays like particles and bend their trajectories with newtonian gravity

Anyone one know how to do this the real way like with general relativity?