Closed Sam-Gr closed 8 years ago
This isn't a boilerplate issue, but a THREE.js one.
@Sam-Gr do you have any clue what causes this ? I have this problem now as well.
@Sam-Gr same here.
Actually, I can't reproduce the issue using the method that I described above. I guess the problem is fixed.
If no texture is used in the scene, the following message appears in the console when exiting VR mode :
WebGL: INVALID_OPERATION: drawArrays: no buffer is bound to enabled attribute
You can easily reproduce this issue in the webvr-boilerplate test by commenting
map: texture,
in the index.html at line 132. Then, enter VR and exit VR with the "back" icon.