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 2. This seems simpler than the previous script but I can’t get it to work.

Thanks for any help or advice.


Yes, it is possible. You need set camera.fieldOfView before setting the camera.projectionMatrix.

For code, see my answer to a similar question: