xzw hace 2 años
padre
commit
71d721c823
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/custom/modules/panos/Panorama.js

+ 2 - 1
src/custom/modules/panos/Panorama.js

@@ -266,8 +266,9 @@ class Panorama extends THREE.EventDispatcher{
         });
         });
         texture.wrapS = THREE.RepeatWrapping;
         texture.wrapS = THREE.RepeatWrapping;
         texture.flipY = false 
         texture.flipY = false 
-        texture.magFilter = THREE.LinearFilter
+        texture.magFilter = THREE.LinearFilter 
         texture.minFilter = THREE.LinearFilter
         texture.minFilter = THREE.LinearFilter
+        texture.generateMipmaps = false
 	}
 	}