问题
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
回答1:
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.
来源:https://stackoverflow.com/questions/53870608/setting-fov-120-in-aframe-doesnt-work-in-vr-mode