- Home /
How to set a second camera's bounding box?
What I have is: a main camera showing the whole app; an area on the screen when I want to show something a second camera sees.
It took a lot to get the size and the position of the second camera to fit with the rest of the view. The problem that I have is that it draws over the bounds that I want. If I change anything like the height, size etc. the whole resolution of what it shows changes.
Is there a way to clip the output of the camera without interfering with the input? Right now even if I change Y of the camera rect it changes my view size completely.
http://answers.unity3d.com/questions/335780/heavy-rain-like-camera-effect.html maybe you find things here :p
$$anonymous$$y problem isn't adding the new camera, that worked. The problem is that I need to cut from the view of the new camera to not spill outside the wanted box. But when I fiddle with the Viewport Rect the size of the drawn objects change as well. I want a way to edit the output only.
All right, I don't think you can have access to output data and I don't see why you would need that :p
did you try modifying field of view? You will have a smaller rectangle view but the output size won't change.
Your answer
Follow this Question
Related Questions
Camera messes up view(With pictures) 1 Answer
Camera viewport should be square and pixel-perfect, regardless of player aspect ratio. 0 Answers
Camera fix with resolution 0 Answers
Why is my 2D Sprite squashed during Play? 0 Answers
2d camera movement 1 Answer