Add minimap shadows

This commit is contained in:
2026-01-31 18:31:50 -08:00
parent 4801d7d9b3
commit a9ed8fda10
59 changed files with 1234 additions and 9587 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://5cstpejxygy6"]
[gd_scene load_steps=14 format=3 uid="uid://5cstpejxygy6"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_i2lux"]
[ext_resource type="PackedScene" uid="uid://bglktekocmksl" path="res://src/map/dungeon/models/Area 2/CircleColumn/A2-CircleColumn.glb" id="2_nqsfp"]
@@ -13,6 +13,13 @@ size = Vector3(1.49561, 4.7276, 1.23734)
[sub_resource type="BoxShape3D" id="BoxShape3D_6sers"]
size = Vector3(20, 6, 20)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k267b"]
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_icta1"]
material = SubResource("StandardMaterial3D_k267b")
size = Vector2(21, 21)
[sub_resource type="Curve" id="Curve_nqsfp"]
_limits = [-2.0, 2.0, 0.0, 1.0]
_data = [Vector2(0.00358423, 0.230769), 0.0, 0.0, 0, 0, Vector2(0.982079, -1.03846), 0.0, 0.0, 0, 0]
@@ -51,96 +58,98 @@ subdivide_depth = 1
[node name="Column Circle Room" type="Node3D"]
script = ExtResource("2_i2lux")
[node name="A2-CircleColumn" parent="." instance=ExtResource("2_nqsfp")]
[node name="Model" type="Node3D" parent="."]
[node name="Collision" type="Node3D" parent="."]
[node name="A2-CircleColumn" parent="Model" instance=ExtResource("2_nqsfp")]
[node name="Collisions" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="Collision"]
[node name="StaticBody3D" type="StaticBody3D" parent="Collisions"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.43295, 2.95279)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision/StaticBody3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collisions/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_jpe4o")
[node name="StaticBody3D2" type="StaticBody3D" parent="Collision"]
[node name="StaticBody3D2" type="StaticBody3D" parent="Collisions"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.05794, 0.306868, -6.20794)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.49197, 0.306868, -5.33891)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.67449, 0.306868, -4.05297)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.53517, 0.306868, -2.45604)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.95265, 0.306868, -0.703285)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.79619, 0.306868, 0.961584)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.34225, 0.306868, 2.5451)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.62439, 0.306868, 4.08638)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.51874, 0.306868, 5.25444)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0613, 0.306868, 6.18041)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.15378, 0.306868, 6.18041)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.62798, 0.306868, 5.3093)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.73363, 0.306868, 4.03613)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.45398, 0.306868, 2.51167)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.88954, 0.306868, 0.920209)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.04031, 0.306868, -0.738264)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.63825, 0.306868, -2.4805)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.75039, 0.306868, -4.10546)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.59448, 0.306868, -5.39539)
shape = SubResource("BoxShape3D_jpe4o")
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Collision/StaticBody3D2"]
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.13703, 0.306868, -6.24975)
shape = SubResource("BoxShape3D_jpe4o")
@@ -181,7 +190,27 @@ collision_mask = 10
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04566, -10.6408, -1.19209e-07)
shape = SubResource("BoxShape3D_6sers")
[node name="GPUParticles3D2" type="GPUParticles3D" parent="."]
[node name="MinimapShadow" type="Node3D" parent="Room"]
unique_name_in_owner = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="Room/MinimapShadow"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020082, -2.09774, 0.0293603)
layers = 2
sorting_offset = 100.0
mesh = SubResource("PlaneMesh_icta1")
[node name="Lights" type="Node3D" parent="."]
[node name="OmniLight3D" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.082139, 4.86582, -0.0836668)
light_energy = 4.5
shadow_enabled = true
shadow_blur = 0.373
omni_range = 13.0
[node name="VFX" type="Node3D" parent="."]
[node name="GPUParticles3D2" type="GPUParticles3D" parent="VFX"]
transform = Transform3D(0.499, 0, 0, 0, 0.307, 0, 0, 0, 0.507, 0.281, 6.094, -0.438)
amount = 20
lifetime = 41.19
@@ -189,18 +218,11 @@ local_coords = true
process_material = SubResource("ParticleProcessMaterial_6drtk")
draw_pass_1 = SubResource("QuadMesh_oelme")
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.082139, 4.86582, -0.0836668)
light_energy = 4.5
shadow_enabled = true
shadow_blur = 0.373
omni_range = 13.0
[node name="FogVolume" type="FogVolume" parent="."]
[node name="FogVolume" type="FogVolume" parent="VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.279114, 11.441, -0.138376)
size = Vector3(20.0836, 8.33643, 19.1257)
[node name="FogVolume" type="FogVolume" parent="FogVolume"]
[node name="FogVolume" type="FogVolume" parent="VFX/FogVolume"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.353651, -5.22283, 0.0979897)
size = Vector3(3.38, 2.69, 3.08)
shape = 2