- Home /
How to cut a camera view in half
How do you get a camera to only see what's at its height or above it? Thanks, appreciate any help
Your question is missing a lot of information to get the answer you're looking for. Perhaps you can post an image of what you would like to achieve? Cause rotating your camera upwards would in theory do what you ask for but I am presu$$anonymous$$g here this is not what you want..
So this would be like horizontal clipping planes. You could do that with shaders. http://forum.unity3d.com/threads/simple-cross-section-shader.34508/ Or using a tool similar to one I've created here: http://forum.unity3d.com/threads/released-crosssection-tool.223790/
Hey guys, i'll try to give more detail. So i'm trying to use this for projection mapping. I need to get the in game camera to see light exactly like a real world projector so when I use a projector on a real object it will show the in game scene on that object. So the problem is that unity cameras see like a pyramid co$$anonymous$$g out of its lens while real world projects kind of angle up like below. I need to rotate the camera frustum or remove the bottom half of it.
Answer by Loius · Jun 17, 2014 at 05:58 PM
You need to change the camera's projectionMatrix.
This is math and this is all the help I can be: google search
Your answer
Follow this Question
Related Questions
Camera Frustrum Calculation 1 Answer
More questions on generating camera frustrum 1 Answer
Lerping Field Of View is buggy 1 Answer
Camera frustums + custom field of view 2 Answers