Added rendering layers

This commit is contained in:
Eduard Urbach 2024-02-12 12:34:41 +01:00
parent 97d6fba237
commit 019d382abd
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
3 changed files with 12 additions and 0 deletions

View File

@ -40,6 +40,7 @@ bone_idx = 12
visible = false visible = false
[node name="Hoodie" type="MeshInstance3D" parent="Model/Female/Armature/GeneralSkeleton" index="5"] [node name="Hoodie" type="MeshInstance3D" parent="Model/Female/Armature/GeneralSkeleton" index="5"]
layers = 512
mesh = ExtResource("5_mkrgn") mesh = ExtResource("5_mkrgn")
skin = ExtResource("4_b1tg1") skin = ExtResource("4_b1tg1")

View File

@ -131,6 +131,16 @@ zoom_out={
] ]
} }
[layer_names]
3d_render/layer_1="Terrain"
3d_render/layer_2="Grass"
3d_render/layer_3="Trees"
3d_render/layer_4="Structures"
3d_render/layer_5="Water"
3d_render/layer_9="Enemies"
3d_render/layer_10="Players"
[physics] [physics]
3d/run_on_separate_thread=true 3d/run_on_separate_thread=true

View File

@ -8,4 +8,5 @@ size = Vector2(25, 25)
[node name="Water" type="MeshInstance3D"] [node name="Water" type="MeshInstance3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25, 0, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25, 0, 0)
layers = 16
mesh = SubResource("PlaneMesh_cybb0") mesh = SubResource("PlaneMesh_cybb0")