xzw 2 年之前
父节点
当前提交
71d721c823
共有 1 个文件被更改,包括 2 次插入1 次删除
  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
 	}