Orthographic camera for GUI + perspective camera?

is this the correct way to do it- we use toolkit 2d for the GUI, so this seems like a good idea (to combine the 2 cameras like is done in the “fps gun+hand” technique so that the hand doesn’t pass through walls)- will it be too expensive performance wise?

you just need to setup rendered layers correctly, so that GUI ortho camera renders UI only, and perspective camera renders everything except GUI. So you won’t get any performance overhead. And yeah, that common practice of using two different cameras.

Could anyone point to an example project where this technique is used by chance? Just as a point of reference.

Thanks

These guys
http://learnunity3d.com/2011/04/smuggle-truck-2d-techniques-talk/

I was already using their exact technique for my GUI, and learned a ton about how to do it better, in addition to answering that question.

Thanks for the link.

You’re awesome.

nps! :slight_smile: