- Home /
Possible to use an oblique frustum camera and still be able to change the fov?
Hi, I've found a script
But after attaching it, the fov of the camera it's attached to cannot be changed. I'm guessing this is due to changing the camera projection matrix?
Is there a way to be able to change the fov as it's a little extreme for my game.
I've found another link. This seems simpler than the previous script but I can't get it to work.
Thanks for any help or advice.
Mark
Answer by BjornVTI · Oct 31, 2012 at 03:18 PM
Yes, it is possible. You need set camera.fieldOfView before setting the camera.projectionMatrix.
For code, see my answer to a similar question:
http://answers.unity3d.com/questions/17305/off-centre-projection-matrix-breaks-cascaded-shado.html
Your answer
Follow this Question
Related Questions
With a perspective camera: Distance independent size gameobject 5 Answers
How do I get an off-center camera view, without breaking FOV & aspect ratio? 1 Answer
Screen position out of view frustum error on FOV change? 0 Answers
Scale Vertices propotional to Camera Frustum 0 Answers
Native camera FOV? 0 Answers