Skip to main content
Up and Coming
December 1, 2016

Camera Field Of View

Hi,

I'm looking to implement a pair of binoculars but having trouble changing the main camera's field of view.  I understand that this is set to a default but I'm hoping to temporarily adjust this variable for a short sequence involving a pair of binoculars and changing the FOV would really work nicely here.

I'm attempting to set new FOV every frame in Update loop but isn't having any effect.  Thanks.
This topic has been closed for replies.

2 replies

Inspiring
December 1, 2016
The main Camera's local pose, IPD, and FOV are immutable when VR is enabled because changing one of those values without changing the others would quickly cause discomfort (nausea). To do binoculars, you could translate and scale the VR camera, add vignettes, or make an additional camera that renders to a target texture with whatever FOV you need. Does one of those approaches work for your use case?
Up and Coming
December 2, 2016
I've tried scale and translate and really couldn't get a convincing effect going.  Will attempt the target texture method.  Thanks!