I have tried stuff with portals several times, and in every video I have watched, the camera will make the portal it's behind invisible before taking a picture, and then make it visible again afterwards. I have tried this:
myWormhole.Renderer.enabled = false;
//positioning stuff
cam.Render();
myWormhole.Renderer.enabled = true;```
However, it still ends up taking a picture of the portal. Also this is being called in Update, not sure if that's causing problems. Please ping me if you have any ideas?