- Home /
How to overlap cameras?
Hi, I've got two cameras, one to show a item in the player's inventory, and the other is the FPSController camera, I'd like to have the one that shows the item in the player's inventory to be overlapping the main camera. I'd also like for there to be no background whatsoever for the inventory object camera, I just want it to show a gameobject so I can display it in a slot of the player's inventory.
Answer by Cherno · Oct 20, 2017 at 12:12 AM
Set the inventory camera's ClearFlags to Nothing.
Set the inventory camera's Depth higher than the depth of the FPSController camera.
There is not an option to set the ClearFlags to Nothing, I can only set it to Skybox, Solid Color, Depth Only, and Don't Clear, also I'd like to have the camera overlap the UI if that is possible. The overlapping other cameras is working though.
Your answer

Follow this Question
Related Questions
Translate GetWorldCorners (new UI) to Viewport for a camera rect 1 Answer
UI Camera Viewport Points 0 Answers
Android Cardboard - Fake UI Overlay 0 Answers