Explorar o código

Fixed EXRLoader example in some Adreno GPUs. See #15026

Mr.doob %!s(int64=7) %!d(string=hai) anos
pai
achega
fb6efa9f7f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;