Add minimap shadows
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=24 format=3 uid="uid://dbfkpodwvxmfe"]
|
||||
[gd_scene load_steps=26 format=3 uid="uid://dbfkpodwvxmfe"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://coxgcbcccj24q" path="res://src/map/dungeon/models/Area 2/Deadend/A2-Deadend.glb" id="2_3jq7h"]
|
||||
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_dhi6g"]
|
||||
@@ -36,6 +36,13 @@ radius = 0.452637
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_kske3"]
|
||||
size = Vector3(20, 6, 16)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y6ow7"]
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_ew8nf"]
|
||||
material = SubResource("StandardMaterial3D_y6ow7")
|
||||
size = Vector2(21, 17)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_k1t35"]
|
||||
_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]
|
||||
@@ -204,6 +211,15 @@ collision_mask = 10
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04566, -10.6408, -1.19209e-07)
|
||||
shape = SubResource("BoxShape3D_kske3")
|
||||
|
||||
[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_ew8nf")
|
||||
|
||||
[node name="Lights" type="Node3D" parent="."]
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="Lights"]
|
||||
|
||||
Reference in New Issue
Block a user