Browse Source

Faster webvr_video.

Mr.doob 9 years ago
parent
commit
48603dcbd6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/webvr_video.html

+ 2 - 1
examples/webvr_video.html

@@ -74,7 +74,8 @@
 				video.play();
 
 				texture = new THREE.VideoTexture( video );
-				texture.minFilter = THREE.LinearFilter;
+				texture.minFilter = THREE.NearestFilter;
+				texture.maxFilter = THREE.NearestFilter;
 				texture.format = THREE.RGBFormat;
 				texture.generateMipmaps = false;