Przeglądaj źródła

Examples: Remove obsolete code in webxr_vr_video.

Mugen87 4 lat temu
rodzic
commit
e97559b916
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      examples/webxr_vr_video.html

+ 0 - 2
examples/webxr_vr_video.html

@@ -47,10 +47,8 @@
 				video.play();
 
 				const texture = new THREE.Texture( video );
-				texture.generateMipmaps = false;
 				texture.minFilter = THREE.NearestFilter;
 				texture.magFilter = THREE.NearestFilter;
-				texture.format = THREE.RGBFormat;
 
 				setInterval( function () {