Save on draw calls
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=12 format=2]
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://astream/terrain/details/residental-garage.gltf" type="PackedScene" id=1]
|
||||
[ext_resource path="res://astream/terrain/details/residental-garage-roof1.gltf" type="PackedScene" id=2]
|
||||
@@ -7,18 +7,6 @@
|
||||
[ext_resource path="res://astream/terrain/details/residental-wall-corner.gltf" type="PackedScene" id=5]
|
||||
[ext_resource path="res://astream/terrain/details/residental-garage-enterance.gltf" type="PackedScene" id=6]
|
||||
|
||||
[sub_resource type="CubeMesh" id=1]
|
||||
size = Vector3( 27, 1, 10 )
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=2]
|
||||
albedo_color = Color( 0.227451, 0.0235294, 0.0235294, 1 )
|
||||
|
||||
[sub_resource type="CubeMesh" id=3]
|
||||
size = Vector3( 25, 6, 9 )
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=4]
|
||||
albedo_color = Color( 0.980392, 0.639216, 0.0705882, 1 )
|
||||
|
||||
[sub_resource type="OccluderShapePolygon" id=5]
|
||||
polygon_points = PoolVector2Array( 12.3046, -2.07897, 12.3844, 1.81323, -10.6155, 1.85245, -10.5569, -2.00206 )
|
||||
|
||||
@@ -151,25 +139,12 @@ lod_range = 20.0
|
||||
|
||||
[node name="residental-garage" parent="LOD/MergeGroup1" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="LOD/MergeGroup1"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.427596, 6.49411, 0 )
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = SubResource( 2 )
|
||||
[node name="residental-garage-roof1" parent="LOD/MergeGroup1" instance=ExtResource( 2 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, 0 )
|
||||
|
||||
[node name="MergeGroup2" type="MergeGroup" parent="LOD"]
|
||||
[node name="3" type="Spatial" parent="LOD"]
|
||||
visible = false
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="LOD/MergeGroup2"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0 )
|
||||
mesh = SubResource( 3 )
|
||||
skeleton = NodePath("../../MergeGroup2")
|
||||
material/0 = SubResource( 4 )
|
||||
|
||||
[node name="MeshInstance2" type="MeshInstance" parent="LOD/MergeGroup2"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.427596, 6.49411, 0 )
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = SubResource( 2 )
|
||||
|
||||
[node name="Occluder" type="Occluder" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.43748, 4.26318 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
Reference in New Issue
Block a user