vim-web 0.3.42-dev.14 → 0.3.42-dev.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vim-web.iife.js +1 -3
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +1 -3
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
package/dist/vim-web.iife.js
CHANGED
|
@@ -52909,14 +52909,12 @@ void main() {
|
|
|
52909
52909
|
if (mesh instanceof InstancedMesh) {
|
|
52910
52910
|
if (this.smallGhostThreshold <= 0) {
|
|
52911
52911
|
mesh.mesh.visible = true;
|
|
52912
|
-
console.log("skip");
|
|
52913
52912
|
continue;
|
|
52914
52913
|
}
|
|
52915
52914
|
const visible2 = mesh.getSubmeshes().some(
|
|
52916
52915
|
(m) => m.object.visible
|
|
52917
52916
|
);
|
|
52918
52917
|
mesh.mesh.visible = !(hide && !visible2 && mesh.size < this.smallGhostThreshold);
|
|
52919
|
-
console.log("visible", mesh.mesh.visible);
|
|
52920
52918
|
}
|
|
52921
52919
|
}
|
|
52922
52920
|
}
|
|
@@ -66888,7 +66886,7 @@ Averrage Date/Second ${avgDataRatePS} kb
|
|
|
66888
66886
|
materials: {
|
|
66889
66887
|
useFastMaterial: false,
|
|
66890
66888
|
useGhostMaterial: true,
|
|
66891
|
-
smallGhostThreshold:
|
|
66889
|
+
smallGhostThreshold: 10
|
|
66892
66890
|
},
|
|
66893
66891
|
isolation: {
|
|
66894
66892
|
enable: true
|