summaryrefslogtreecommitdiffstats
path: root/world/chunk/Chunk.tscn
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-09-19 10:32:24 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-09-19 10:32:24 -0400
commit51a0664a1c2265adddbf4c42d4eda747c8ea8aaf (patch)
tree1bcdb3bcee5a0c1e303d55a001158ec906810329 /world/chunk/Chunk.tscn
parent9bc2a0767e15d4dde7fd6231b07882d6456af71e (diff)
downloadgodot_wildjam_49-51a0664a1c2265adddbf4c42d4eda747c8ea8aaf.tar.gz
godot_wildjam_49-51a0664a1c2265adddbf4c42d4eda747c8ea8aaf.zip
Add Levels of Detail per Chunk
Diffstat (limited to '')
-rw-r--r--world/chunk/Chunk.tscn10
1 files changed, 10 insertions, 0 deletions
diff --git a/world/chunk/Chunk.tscn b/world/chunk/Chunk.tscn
index 4ce985b..5377ae9 100644
--- a/world/chunk/Chunk.tscn
+++ b/world/chunk/Chunk.tscn
@@ -34,3 +34,13 @@ _mesh = SubResource( 2 )
operation = 2
script = ExtResource( 2 )
_mesh = SubResource( 4 )
+
+[node name="gen_tree" type="Spatial" parent="."]
+
+[node name="lod_distance" type="Spatial" parent="gen_tree"]
+
+[node name="lod_mid" type="Spatial" parent="gen_tree"]
+
+[node name="lod_close" type="StaticBody" parent="gen_tree"]
+collision_layer = 8
+collision_mask = 0