From 51a0664a1c2265adddbf4c42d4eda747c8ea8aaf Mon Sep 17 00:00:00 2001 From: dusoleil Date: Mon, 19 Sep 2022 10:32:24 -0400 Subject: Add Levels of Detail per Chunk --- world/chunk/Chunk.tscn | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'world/chunk/Chunk.tscn') 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 -- cgit v1.2.3