Explorar o código

Minor tweaks.

Mr.doob %!s(int64=11) %!d(string=hai) anos
pai
achega
c070c019b7
Modificáronse 1 ficheiros con 2 adicións e 8 borrados
  1. 2 8
      examples/webgl_video_panorama_equirectangular.html

+ 2 - 8
examples/webgl_video_panorama_equirectangular.html

@@ -73,15 +73,9 @@
 				video.src = "textures/pano.webm";
 
 				videoTexture = new THREE.Texture( video );
+				videoTexture.generateMipmaps = false;
 
-				var material   = new THREE.MeshBasicMaterial({
-				  map : videoTexture, overdraw: true
-				});
-
-
-				//var material = new THREE.MeshBasicMaterial( {
-				//	map: THREE.ImageUtils.loadTexture( 'pano.jpeg' )
-				//} );
+				var material   = new THREE.MeshBasicMaterial( { map : videoTexture } );
 
 				mesh = new THREE.Mesh( geometry, material );