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!