Save on draw calls

This commit is contained in:
2025-03-17 19:40:50 +03:00
parent 8e140fb878
commit ea792d8ea9
101 changed files with 2141 additions and 13712 deletions

View File

@@ -2,30 +2,17 @@
[ext_resource path="res://astream/terrain/details/office-exterior.gltf" type="PackedScene" id=1]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 3.29498, 1.40109, 4.14298 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 39.4718, 0.292291, 39.4718, 14.251, -39.7263, 13.855, -39.5283, 0.68828 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 19.5713, 0.55356, 19.5713, 13.9182, -19.4337, 14.0172, -19.3347, 0.751557 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 3.29498, 1.40109, 4.14298 )
[node name="office-exterior" type="Spatial"]
[node name="scene_office" type="Spatial" parent="." groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.0407 )
[node name="Area" type="Area" parent="scene_office"]
[node name="CollisionShape" type="CollisionShape" parent="scene_office/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000112534, 2.48236, -4.51659 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="office-exterior" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.1658 )
shape = SubResource( 2 )
@@ -41,3 +28,24 @@ shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 39.7202, 0, 0.157095 )
shape = SubResource( 3 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 350.0
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="office-exterior" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
[node name="scene_office" type="Spatial" parent="." groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.0407 )
[node name="Area" type="Area" parent="scene_office"]
[node name="CollisionShape" type="CollisionShape" parent="scene_office/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000112534, 2.48236, -4.51659 )
shape = SubResource( 1 )