- Home /
To display GUI Texture only on main camera
Hi all, I am working on a game for android. I have 2 cameras in my scene. maincamera is following my car and another camera is showing me a top view of a car with Normalized view port rect in a small rectangle. When I am pausing my game a popup comes on the screen made up of GUITexture. It looks fine on main camera but it is also visible in 2nd camera which should not be like that.
Can any one help?
Answer by whydoidoit · May 31, 2012 at 10:09 AM
Yep. Put the texture object on it's own layer - make the second camera not see that layer by changing its Culling Mask.
I putted textures on a layer. Now can you help me how to restrict 2nd camera to see it??
oh I got it.. Great answer @$$anonymous$$ike. Thanks for helping...
Thanks for this answer, this is just what I was looking for. This is a bit of a Random question, but what do I need to do in order to "Thumbs Up" a correct answer?
Your answer
![](https://koobas.hobune.stream/wayback/20220613072200im_/https://answers.unity.com/themes/thub/images/avi.jpg)