Add minimap shadows
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=64 format=3 uid="uid://cihbmyo0ltq4m"]
|
||||
[gd_scene load_steps=66 format=3 uid="uid://cihbmyo0ltq4m"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c77acs4px36hq" path="res://src/map/dungeon/models/Area 1/Exit/A1-Exit.glb" id="2_54fgm"]
|
||||
[ext_resource type="Script" uid="uid://bd824eigybu51" path="res://src/map/dungeon/code/ExitRoom.cs" id="2_umdkt"]
|
||||
@@ -28,6 +28,13 @@ size = Vector3(5.96239, 4.04241, 0.991822)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_tgauh"]
|
||||
size = Vector3(20, 20, 36)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k6ywg"]
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_54fgm"]
|
||||
material = SubResource("StandardMaterial3D_k6ywg")
|
||||
size = Vector2(8, 26)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_l1s1j"]
|
||||
_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]
|
||||
@@ -515,6 +522,15 @@ collision_mask = 10
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04566, -4.02862, -1.19209e-07)
|
||||
shape = SubResource("BoxShape3D_tgauh")
|
||||
|
||||
[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.55592, 3.41991)
|
||||
layers = 2
|
||||
sorting_offset = 100.0
|
||||
mesh = SubResource("PlaneMesh_54fgm")
|
||||
|
||||
[node name="Lights" type="Node3D" parent="."]
|
||||
|
||||
[node name="OmniLight3D3" type="OmniLight3D" parent="Lights"]
|
||||
|
||||
Reference in New Issue
Block a user