Hi
I'm making a HUD on a character. It's FP POV. The character has a main camera to which I have attached UICamera, plus there is a second camera pointing at the HUD stuff such as buttons, a texture and a label. This camera is orthographic. It too has UIcamera attached. The 3D camera has a depth 0 and the othographic has a depth of 1 so that is laid over the perspective camera. The orthographic camera also has a culling mask layer called 2DCamera Layer and all the HUD items are in this layer. I set the 3D camera flag to depth only and the orthographic camera flags to 'Don't clear'. the orthographic camera also receives messages to the same layer as the culling mask. Everything else in the scene uses the default layer. The orthographic camera is set to a size of 1.6 with a distance of 0.5.
I hope that is all clear.
When I hit play, the HUD items appear as expected, however, there is a seconday image of all the items in the room that shows in addition to the 3D camera. i.e. it looks like it is rendering the default layer as well with both cameras. This is my first time using NGUI so I'm certain I'm missing something rather simple. I'm also pretty new to programming a game so I'm probably not aware of a couple of things with Unity as well. The combination of ignorance with both is stumping me at the moment. So any assistance is greatly appreciated. I have attached an image showing the weird effect this is having in the scene.