borismus / webvr-boilerplate

A starting point for web-based VR experiences that work on all VR headsets.
Apache License 2.0
1.8k stars 451 forks source link

Canvas size on VR mode is not resizing correctly #159

Closed arturitu closed 8 years ago

arturitu commented 8 years ago

Testing https://borismus.github.io/webvr-boilerplate/ wih any device (I tested with a Nexus 5 & a Samsung S6) when you press 'Cardboard' icon, you can view the scene but looks as if it had a setPixelRatio = 1, I guess is not resizing the canvas correctly (the gear and arrow icons are bigger than previous version which works for me).

0

arturitu commented 8 years ago

Sorry, I think is not an issue here, is in the new VREffect when you enter to onFullscreenChange force renderer.setPixelRatio(1); I'm not sure why, maybe is to improve the performance, but some 3D scenes looks very odd.