Elad Katz
Elad Katz

Reputation: 7591

setting FOV=120 in AFRAME doesn't work in VR-MODE?

I set camera fov to be 120:

<a-camera fov="120"></a-camera>

It works well in regular mode (shows 120 fov correctly) but when I enter vr-mode in a mobile device it returns to 80. Is it a bug?

see reproduction here

I also opened an issue in aframe github issue page

Upvotes: 0

Views: 894

Answers (1)

Diego Marcos
Diego Marcos

Reputation: 4585

It's not a bug. It's expected behavior. FOV and other camera parameters are supplied by the WebVR / WebXR API when in VR mode. They're specific to the headset characteristics (IPD, lenses properties...) and cannot be overridden. Stereo rendering would not look right with different parameters.

Upvotes: 1

Related Questions