- Home /
Multiple cameras in game scene to create preview of the game
Attached image is the game scene which I am currently working on. Timeline/preview of the game scene is visible on top left hand side. I have created the preview using a second camera in depth only & culling mask mode.
I also created the yellow tracker using open gl graphics. The problem I am facing is related to the tracker. The yellow tracker is seen behind the preview of the game scene. It is not coming as in the attachment. Yellow tracker is coming behind the blocks in the preview.
Is it only related to the z position of the preview & tracker? Or should I consider anything else? Or should I change some settings? Please help.
We need details for how it is setup, any scripts that are related to this which could actually provide us a way to think in some definitive direction.
I am using two cameras here. The preview is displayed using the second camera & objects are displayed by giving appropriate layers to them. The second camera rendering is on top of the main camera. Hence the yellow tracker of the timeline is co$$anonymous$$g behind the second camera. I want it before the timeline.