GUI Cropping

I usually produce games which are side-by-side stereoscopic. This is achieved with two cameras, one to represent the left eye and one to represent the right.

This is pretty simple stuff. But on occasion I am required to show some 2D content. So far I’ve been using the GUI functions to do it, as its a quick and dirty way to get flat 2D stuff straight up over-the-top of the 3D stuff.

However, I suffer a problem if the 2D stuff has to be expanded large enough to encompass more than the screen res (such as zoooming far into a 2D image). If you just scale the two 2D items on both sides, either the left will ‘bleed’ into the right side or vice versa.

Ideally, I need to crop specific elements so that they don’t hit the other-side of the screen. So far I can’t think of any way of doing this except for creating some very complicated setup which switches into an orthographic layout using two cameras.

Is there any way I can crop elements in the GUI?

Cheers!

Would it be possible to use a third camera to show your 2D content instead of the GUI system? I’m thinking you could point a camera at an image outside the main game world and/or use culling masks to ensure this camera didn’t show anything it shouldn’t.

Yeah I’m thinking that another two cameras would be required (due to the hardware setup, we would need 2 cams, despite the image being 2D) as you describe. I was just hoping there was a way I could shortcut via GUI.