chore: reassign viewport material to maps

This commit is contained in:
tiger tiger tiger 2026-01-20 12:46:51 +01:00
parent 20927d4af0
commit e998d3154b
4 changed files with 122 additions and 52 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=59 format=3 uid="uid://fgp3tbah7msy"]
[gd_scene load_steps=58 format=3 uid="uid://fgp3tbah7msy"]
[ext_resource type="Script" uid="uid://snugj1gnggjj" path="res://base-environments/transition/subway_sequence.gd" id="1_yfan7"]
[ext_resource type="PackedScene" uid="uid://mkccbig41bqb" path="res://logic-scenes/player_controller/player_controller.tscn" id="2_il5go"]
@ -133,7 +133,7 @@ size = Vector3(0.5, 3, 5.547009)
size = Vector3(0.5661621, 3, 1.411961)
[sub_resource type="ViewportTexture" id="ViewportTexture_rkl48"]
viewport_path = NodePath("Stations/StationDolly/SubwayMap3D/MapViewport")
viewport_path = NodePath("Stations/StationDolly/dungeon_station/SubwayMap3D/MapViewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_il5go"]
resource_local_to_scene = true
@ -153,10 +153,6 @@ resource_local_to_scene = true
material = SubResource("StandardMaterial3D_il5go")
size = Vector2(1.505, 1)
[sub_resource type="QuadMesh" id="QuadMesh_iq74k"]
material = SubResource("StandardMaterial3D_il5go")
size = Vector2(1.505, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rkl48"]
resource_name = "beam_metal.001"
cull_mode = 2
@ -556,6 +552,13 @@ visible = false
[node name="Stations" type="Node3D" parent="."]
unique_name_in_owner = true
[node name="MapViewport" type="SubViewport" parent="Stations"]
disable_3d = true
size = Vector2i(2896, 2048)
render_target_update_mode = 4
[node name="SubwayMap" parent="Stations/MapViewport" instance=ExtResource("8_rcbu2")]
[node name="StationDolly" type="Node3D" parent="Stations"]
unique_name_in_owner = true
script = ExtResource("5_yfan7")
@ -570,43 +573,6 @@ visible = false
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -130)
visible = false
[node name="SubwayMap3D" type="Node3D" parent="Stations/StationDolly"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4, -22.624)
[node name="MapPanel1" type="MeshInstance3D" parent="Stations/StationDolly/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, 1.46175, 0, 1.46175, 0, -1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_rkl48")
[node name="MapPanel2" type="MeshInstance3D" parent="Stations/StationDolly/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, -1.46175, 0, 1.46175, 0, 1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_iq74k")
[node name="Stand" type="MeshInstance3D" parent="Stations/StationDolly/SubwayMap3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.15, 0)
mesh = SubResource("BoxMesh_rkl48")
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="Stations/StationDolly/SubwayMap3D"]
transform = Transform3D(1.46175, 0, 0, 0, 1.46175, 0, 0, 0, 1.46175, 0, 0, 0)
material_override = SubResource("StandardMaterial3D_sofnd")
use_collision = true
[node name="CSGMesh3D" type="CSGMesh3D" parent="Stations/StationDolly/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
mesh = SubResource("BoxMesh_8c5ii")
[node name="CSGMesh3D2" type="CSGMesh3D" parent="Stations/StationDolly/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
operation = 2
mesh = SubResource("BoxMesh_symoa")
[node name="MapViewport" type="SubViewport" parent="Stations/StationDolly/SubwayMap3D"]
disable_3d = true
size = Vector2i(2896, 2048)
render_target_update_mode = 4
[node name="SubwayMap" parent="Stations/StationDolly/SubwayMap3D/MapViewport" instance=ExtResource("8_rcbu2")]
unique_name_in_owner = true
[node name="dungeon_station" parent="Stations/StationDolly" instance=ExtResource("5_rum2v")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.021, 0, -0.018)
@ -617,11 +583,48 @@ subdiv = 2
size = Vector3(11, 3.75, 84)
data = ExtResource("6_ii0j1")
[node name="SubwayMap3D" type="Node3D" parent="Stations/StationDolly/dungeon_station"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.021, 1.4, -22.606)
[node name="MapPanel1" type="MeshInstance3D" parent="Stations/StationDolly/dungeon_station/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, 1.46175, 0, 1.46175, 0, -1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_rkl48")
[node name="MapPanel2" type="MeshInstance3D" parent="Stations/StationDolly/dungeon_station/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, -1.46175, 0, 1.46175, 0, 1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_rkl48")
[node name="Stand" type="MeshInstance3D" parent="Stations/StationDolly/dungeon_station/SubwayMap3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.15, 0)
mesh = SubResource("BoxMesh_rkl48")
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="Stations/StationDolly/dungeon_station/SubwayMap3D"]
transform = Transform3D(1.46175, 0, 0, 0, 1.46175, 0, 0, 0, 1.46175, 0, 0, 0)
material_override = SubResource("StandardMaterial3D_sofnd")
use_collision = true
[node name="CSGMesh3D" type="CSGMesh3D" parent="Stations/StationDolly/dungeon_station/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
mesh = SubResource("BoxMesh_8c5ii")
[node name="CSGMesh3D2" type="CSGMesh3D" parent="Stations/StationDolly/dungeon_station/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
operation = 2
mesh = SubResource("BoxMesh_symoa")
[node name="MapViewport" type="SubViewport" parent="Stations/StationDolly/dungeon_station/SubwayMap3D"]
disable_3d = true
size = Vector2i(2896, 2048)
render_target_update_mode = 4
[node name="SubwayMap" parent="Stations/StationDolly/dungeon_station/SubwayMap3D/MapViewport" instance=ExtResource("8_rcbu2")]
unique_name_in_owner = true
[node name="HiddenStations" type="Node3D" parent="Stations"]
visible = false
[node name="uni_station" parent="Stations/HiddenStations" instance=ExtResource("9_bdj4u")]
unique_name_in_owner = true
visible = false
[node name="VoxelGI" type="VoxelGI" parent="Stations/HiddenStations/uni_station"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020572662, 1.5449562, -25.981638)
@ -629,9 +632,39 @@ subdiv = 2
size = Vector3(11, 3.7785034, 84)
data = ExtResource("10_j1yes")
[node name="SubwayMap3D" type="Node3D" parent="Stations/HiddenStations/uni_station"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.021, 1.4, -22.606)
[node name="MapPanel1" type="MeshInstance3D" parent="Stations/HiddenStations/uni_station/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, 1.46175, 0, 1.46175, 0, -1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_rkl48")
[node name="MapPanel2" type="MeshInstance3D" parent="Stations/HiddenStations/uni_station/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, -1.46175, 0, 1.46175, 0, 1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_rkl48")
[node name="Stand" type="MeshInstance3D" parent="Stations/HiddenStations/uni_station/SubwayMap3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.15, 0)
mesh = SubResource("BoxMesh_rkl48")
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="Stations/HiddenStations/uni_station/SubwayMap3D"]
transform = Transform3D(1.46175, 0, 0, 0, 1.46175, 0, 0, 0, 1.46175, 0, 0, 0)
material_override = SubResource("StandardMaterial3D_sofnd")
use_collision = true
[node name="CSGMesh3D" type="CSGMesh3D" parent="Stations/HiddenStations/uni_station/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
mesh = SubResource("BoxMesh_8c5ii")
[node name="CSGMesh3D2" type="CSGMesh3D" parent="Stations/HiddenStations/uni_station/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
operation = 2
mesh = SubResource("BoxMesh_symoa")
[node name="burnout_station" parent="Stations/HiddenStations" instance=ExtResource("11_vomua")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.2, 0, 0, 0)
visible = false
[node name="VoxelGI" type="VoxelGI" parent="Stations/HiddenStations/burnout_station"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020572662, 1.5449562, -25.981638)
@ -642,6 +675,7 @@ data = ExtResource("12_jwt33")
[node name="volunteer_station" parent="Stations/HiddenStations" instance=ExtResource("13_265nv")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.3, 0, 0, 0)
visible = false
[node name="VoxelGI" type="VoxelGI" parent="Stations/HiddenStations/volunteer_station"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.7692308, 0.020572662, 1.5449562, -27.640734)
@ -649,6 +683,42 @@ subdiv = 2
size = Vector3(11, 3.7785034, 104.75287)
data = ExtResource("14_w5sv3")
[node name="SubwayMap3D" type="Node3D" parent="Stations/HiddenStations/volunteer_station"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.021, 1.4, -22.606)
[node name="MapPanel1" type="MeshInstance3D" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, 1.46175, 0, 1.46175, 0, -1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_rkl48")
[node name="MapPanel2" type="MeshInstance3D" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D"]
transform = Transform3D(-6.389512e-08, 0, -1.46175, 0, 1.46175, 0, 1.46175, 0, -6.389512e-08, 0, 0, 0)
mesh = SubResource("QuadMesh_rkl48")
[node name="Stand" type="MeshInstance3D" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.15, 0)
mesh = SubResource("BoxMesh_rkl48")
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D"]
transform = Transform3D(1.46175, 0, 0, 0, 1.46175, 0, 0, 0, 1.46175, 0, 0, 0)
material_override = SubResource("StandardMaterial3D_sofnd")
use_collision = true
[node name="CSGMesh3D" type="CSGMesh3D" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
mesh = SubResource("BoxMesh_8c5ii")
[node name="CSGMesh3D2" type="CSGMesh3D" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D/CSGCombiner3D"]
transform = Transform3D(1, 0, -7.1054274e-15, 0, 1, 0, 7.1054274e-15, 0, 1, 0, 0, 0)
operation = 2
mesh = SubResource("BoxMesh_symoa")
[node name="MapViewport" type="SubViewport" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D"]
disable_3d = true
size = Vector2i(2896, 2048)
render_target_update_mode = 4
[node name="SubwayMap" parent="Stations/HiddenStations/volunteer_station/SubwayMap3D/MapViewport" instance=ExtResource("8_rcbu2")]
[node name="StationPlayer" type="AnimationPlayer" parent="Stations"]
unique_name_in_owner = true
autoplay = "RESET"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long