Add minimap shadows
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://boonyo0b1q1ad"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://boonyo0b1q1ad"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bqvkbpfsuu0d4" path="res://src/map/dungeon/models/Area 2/Donut/A2 Donut.glb" id="1_8nndw"]
|
||||
[ext_resource type="Texture2D" uid="uid://dw50ys561j8no" path="res://src/map/assets/DUST_1.png" id="1_ewwkl"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ewwkl"]
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_pvs4g"]
|
||||
material = SubResource("StandardMaterial3D_ewwkl")
|
||||
size = Vector2(37, 50)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_v0m5w"]
|
||||
_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]
|
||||
@@ -44,6 +51,17 @@ subdivide_depth = 1
|
||||
|
||||
[node name="A2 Donut" parent="Model" instance=ExtResource("1_8nndw")]
|
||||
|
||||
[node name="Room" type="Node3D" 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.55592, -6.40325)
|
||||
layers = 2
|
||||
sorting_offset = 100.0
|
||||
mesh = SubResource("PlaneMesh_pvs4g")
|
||||
|
||||
[node name="Lights" type="Node3D" parent="."]
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="Lights"]
|
||||
|
||||
Reference in New Issue
Block a user