non-Euclidean Portal Camera

I am working on a non-Euclidean portal using viewport frames, but the camera was a really hard part of doing. I am trying to replicate Egomoose’s portal system but I want to make it better and faster.

All I need is a surface like camera which doesnt let players take the whole camera. I just need the portal camera formula from where the client camera is at and replicate it. I already have the viewport and the all the parts showing into the viewport but the camera is the hard part so if you have an answer please show me

edit: I want a surface like camera like egomoose’s demo game.


And this is my camera right now.

I was a little lazy with putting the cameras supposed to be backwards but anyway its an example, my camera right now is a normal camera which is not like a surface camera here is an example.

1 Like