How to blend two cameras when traveling through a portal in Unity3D I've been sketching out some pseudocode and such, is this about what I'd want to be doing: - get the line of intersection between the camera near plane and portal plane, translate that to screen coordinates, then in a script blend the two camera views in to one texture by deciding which side of the line a pixel lays on, then use Graphics.Blit to project that texture over the screen?
Apr 12
comment
How to blend two cameras when traveling through a portal in Unity3D I did test out changing the near clipping plane distance, it made the problem slightly better, but as the article Mell posted states it does not fix the problem when strafing through. I still feel like the line of intersection may work though, so I'm going to try it out. I'll also look a bit more in to that article Mell posted. In the end it will come down to whether a depth mask is faster or this line of intersection is faster