在源码中可以得到这个 在里面加入透明度放在自己的代码中即可 viewer.impl.setGhostingBrightness = function(darkerFade) { if (darkerFade) { this.fadeMaterial.color = new THREE.Color(0x101010); //ghost 透明度 this.fadeMaterial.opacity = 0.03; } else { this.fadeMaterial.color = new THREE.Color(0xffffff); } this.fadeMaterial.needsUpdate = true; };
在源码中可以得到这个 在里面加入透明度放在自己的代码中即可
