Save on draw calls
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://astream/terrain/details/residental-hut1.gltf" type="PackedScene" id=1]
|
||||
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
|
||||
@@ -7,68 +7,42 @@
|
||||
[sub_resource type="BoxShape" id=1]
|
||||
extents = Vector3( 0.7, 1, 0.6 )
|
||||
|
||||
[sub_resource type="CubeMesh" id=2]
|
||||
size = Vector3( 14, 7, 16 )
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=3]
|
||||
albedo_color = Color( 0.937255, 0.615686, 0.0627451, 1 )
|
||||
|
||||
[node name="residental-hut1" type="Spatial"]
|
||||
|
||||
[node name="LOD" type="LOD" parent="."]
|
||||
|
||||
[node name="MergeGroup" type="MergeGroup" parent="LOD"]
|
||||
lod_range = 40.0
|
||||
[node name="0" type="Spatial" parent="LOD"]
|
||||
lod_range = 100.0
|
||||
|
||||
[node name="residental-hut1" parent="LOD/MergeGroup" instance=ExtResource( 1 )]
|
||||
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
|
||||
|
||||
[node name="door1-portal" parent="LOD/MergeGroup" instance=ExtResource( 2 )]
|
||||
[node name="residental-hut1" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="door1-portal" parent="LOD/0/MergeGroup" instance=ExtResource( 2 )]
|
||||
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -7.48604 )
|
||||
skeleton = NodePath("../../..")
|
||||
skeleton = NodePath("../../../..")
|
||||
|
||||
[node name="enter_destination" type="Spatial" parent="LOD/MergeGroup/door1-portal" groups=["smart_object"]]
|
||||
[node name="enter_destination" type="Spatial" parent="LOD/0/MergeGroup/door1-portal" groups=["smart_object"]]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
|
||||
|
||||
[node name="actions" type="Node" parent="LOD/MergeGroup/door1-portal/enter_destination"]
|
||||
[node name="actions" type="Node" parent="LOD/0/MergeGroup/door1-portal/enter_destination"]
|
||||
|
||||
[node name="EnterDestination" type="Node" parent="LOD/MergeGroup/door1-portal/enter_destination/actions"]
|
||||
[node name="EnterDestination" type="Node" parent="LOD/0/MergeGroup/door1-portal/enter_destination/actions"]
|
||||
|
||||
[node name="Area" type="Area" parent="LOD/MergeGroup/door1-portal/enter_destination"]
|
||||
[node name="Area" type="Area" parent="LOD/0/MergeGroup/door1-portal/enter_destination"]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="LOD/MergeGroup/door1-portal/enter_destination/Area"]
|
||||
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/MergeGroup/door1-portal/enter_destination/Area"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="residental-house-stair" parent="LOD/MergeGroup" instance=ExtResource( 3 )]
|
||||
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -7.97294 )
|
||||
|
||||
[node name="MergeGroup2" type="MergeGroup" parent="LOD"]
|
||||
[node name="1" type="Spatial" parent="LOD"]
|
||||
visible = false
|
||||
lod_range = 20.0
|
||||
lod_range = 500.0
|
||||
|
||||
[node name="residental-hut1" parent="LOD/MergeGroup2" instance=ExtResource( 1 )]
|
||||
[node name="residental-hut1" parent="LOD/1" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="door1-portal" parent="LOD/MergeGroup2" instance=ExtResource( 2 )]
|
||||
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -7.48604 )
|
||||
skeleton = NodePath("../../..")
|
||||
|
||||
[node name="enter_destination" type="Spatial" parent="LOD/MergeGroup2/door1-portal" groups=["smart_object"]]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
|
||||
|
||||
[node name="actions" type="Node" parent="LOD/MergeGroup2/door1-portal/enter_destination"]
|
||||
|
||||
[node name="EnterDestination" type="Node" parent="LOD/MergeGroup2/door1-portal/enter_destination/actions"]
|
||||
|
||||
[node name="Area" type="Area" parent="LOD/MergeGroup2/door1-portal/enter_destination"]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="LOD/MergeGroup2/door1-portal/enter_destination/Area"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="MergeGroup3" type="MergeGroup" parent="LOD"]
|
||||
[node name="2" type="Spatial" parent="LOD"]
|
||||
visible = false
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="LOD/MergeGroup3"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5, 0 )
|
||||
mesh = SubResource( 2 )
|
||||
material/0 = SubResource( 3 )
|
||||
|
||||
Reference in New Issue
Block a user