forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
e284f4fc76
commit
15a5254380
52 files changed
+637
-80
No files matched your search
@@ -24,6 +24,7 @@ import { cacheStaticMatrices, instanceRepeatedStaticMeshes } from "./staticScene
|
||||
import { createStaticVisibilityCells, registerStaticVisibility } from "./staticSceneVisibility";
|
||||
import { useGameGLTF } from "./useGameGLTF";
|
||||
import { prepareDungeonMaterial } from "./productionDungeonMaterials";
|
||||
import { repairHallOfSurvivorsVisual } from "./hallOfSurvivorsVisual";
|
||||
import {
|
||||
DUNGEON_COLLISION_LOAD_BATCH_SIZE,
|
||||
DUNGEON_VISUAL_LOAD_BATCH_SIZE,
|
||||
@@ -53,6 +54,7 @@ function prepareVisual(root: Object3D, definition: DungeonDefinition) {
|
||||
instanced.computeBoundingSphere();
|
||||
}
|
||||
});
|
||||
repairHallOfSurvivorsVisual(clone, definition.id);
|
||||
// Scholomance's compact visual has thousands of opaque repetitions. Grouping
|
||||
// them across the level saves draw calls without expanding a large triangle set.
|
||||
instanceRepeatedStaticMeshes(clone, 3, undefined, definition.id === "scholomance");
|
||||
|
||||
Reference in new issue
Block a user