Prechádzať zdrojové kódy

Fixed EXRLoader example in some Adreno GPUs. See #15026

Mr.doob 6 rokov pred
rodič
commit
fb6efa9f7f
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      examples/webgl_loader_texture_exr.html

+ 2 - 1
examples/webgl_loader_texture_exr.html

@@ -81,7 +81,8 @@
 					//console.log( textureData );
 					//console.log( textureData );
 					//console.log( texture );
 					//console.log( texture );
 
 
-					texture.generateMipmaps = true;
+					texture.minFilter = THREE.NearestFilter;
+					texture.magFilter = THREE.NearestFilter;
 
 
 					// these setting are currently set correctly by default
 					// these setting are currently set correctly by default
 					//texture.encoding = THREE.LinearEncoding;
 					//texture.encoding = THREE.LinearEncoding;