Browse Source

Merge pull request #20571 from Mugen87/dev51

Examples: Remove obsolete code in webxr_vr_video.
Mr.doob 4 năm trước cách đây
mục cha
commit
c14257da2e
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      examples/webxr_vr_video.html

+ 0 - 4
examples/webxr_vr_video.html

@@ -47,10 +47,6 @@
 				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 () {