Browse Source

Examples: Remove obsolete code in webxr_vr_video.

Mugen87 4 years ago
parent
commit
e97559b916
1 changed files with 0 additions and 2 deletions
  1. 0 2
      examples/webxr_vr_video.html

+ 0 - 2
examples/webxr_vr_video.html

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