diff --git a/src/plugin.js b/src/plugin.js index f492846d..c731e5e2 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -372,7 +372,7 @@ class VR extends Plugin { this.videoTexture.magFilter = THREE.LinearFilter; this.videoTexture.format = THREE.RGBFormat; - this.movieMaterial = new THREE.MeshBasicMaterial({ map: this.videoTexture, overdraw: true, side: THREE.DoubleSide }); + this.movieMaterial = new THREE.MeshBasicMaterial({ map: this.videoTexture, overdraw: true, side: THREE.FrontSide }); this.changeProjection_(this.currentProjection_); @@ -483,6 +483,9 @@ class VR extends Plugin { this.log('no vr displays found going to use OrbitControls'); this.controls3d = new OrbitControls(this.camera, this.renderedCanvas); this.controls3d.target.set(0, 0, -1); + this.controls3d.enableZoom = false; + this.controls3d.enablePan = false; + this.controls3d.rotateSpeed = -0.5; } this.animationFrameId_ = this.requestAnimationFrame(this.animate_); });