diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-09-19 06:28:21 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-09-19 06:28:21 -0400 |
commit | 9bc2a0767e15d4dde7fd6231b07882d6456af71e (patch) | |
tree | 1cc9b88eadf86c7df16ed01418cf64d0c8b92d3b /world/chunk/Chunk.gd | |
parent | 354287265bda1448935c05e76455cff18d57f5da (diff) | |
download | game_jam49-9bc2a0767e15d4dde7fd6231b07882d6456af71e.tar.gz game_jam49-9bc2a0767e15d4dde7fd6231b07882d6456af71e.zip |
Use MultiMesh to dramatically increase performance of generated world
Diffstat (limited to '')
-rw-r--r-- | world/chunk/Chunk.gd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/world/chunk/Chunk.gd b/world/chunk/Chunk.gd index 7c5c1c3..1860c84 100644 --- a/world/chunk/Chunk.gd +++ b/world/chunk/Chunk.gd @@ -4,6 +4,7 @@ enum LOD {DISTANCE,MID,CLOSE} var lod = -1 func lod_update(): + return for obj in $"gen_tree".get_children(): match lod: LOD.CLOSE: |