Portal View/Projection Matrix near plane
- by melak47
For RenderToTexture/Camera based portal rendering, the basics seems simple enough.
However, with a free camera, most of the time it is going to be looking at such portals at an angle:
Now a regular near clipping plane will not always work here, it will either intersect with the wall the portal is sitting on, or possibly with objects in front of…