xzw 2 gadi atpakaļ
vecāks
revīzija
71d721c823
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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.flipY = false 
-        texture.magFilter = THREE.LinearFilter
+        texture.magFilter = THREE.LinearFilter 
         texture.minFilter = THREE.LinearFilter
+        texture.generateMipmaps = false
 	}