mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Shadows decals
This commit is contained in:
parent
01a852de9b
commit
1dfce7802b
12 changed files with 5344 additions and 1520 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=40 format=3 uid="uid://bh3vxmqflijgj"]
|
||||
[gd_scene load_steps=38 format=3 uid="uid://bh3vxmqflijgj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dwregubt4iila" path="res://Scripts/Components/FSM/Enemy/3D/EnemyProxy3D.cs" id="1_a3crc"]
|
||||
[ext_resource type="Resource" uid="uid://ccym6mcq4fbul" path="res://Resources/Enemies/Fairy_Guard_3D.tres" id="2_jgarc"]
|
||||
|
|
@ -23,11 +23,11 @@
|
|||
[ext_resource type="Script" uid="uid://bvcfa6wivpgy1" path="res://Scripts/Components/FSM/Enemy/3D/EnemyDamageModule3D.cs" id="16_27vgy"]
|
||||
[ext_resource type="Script" uid="uid://dmawekjfas6k8" path="res://Scripts/Components/Actors/DamageReceiver3D.cs" id="17_tabhk"]
|
||||
[ext_resource type="Script" uid="uid://cqwvssstkrdmw" path="res://Scripts/Components/Actors/ActorResourceProvider.cs" id="18_4fnoq"]
|
||||
[ext_resource type="Script" uid="uid://dvln1783wvvuw" path="res://Scripts/Components/Actors/ShadowProvider.cs" id="19_4fnoq"]
|
||||
[ext_resource type="Script" uid="uid://qrdor3gk6x37" path="res://Scripts/Components/FSM/Enemy/3D/GravityProvider.cs" id="25_qg061"]
|
||||
[ext_resource type="Script" uid="uid://khph8rethll7" path="res://Scripts/Components/Actors/3D/EnemySoundModule3D.cs" id="26_ojvcb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bf37ce6jskdel" path="res://Sprites/SmallHitbox.png" id="27_bh48e"]
|
||||
[ext_resource type="Script" uid="uid://buvtqwl5fvwxk" path="res://Scripts/Components/Actors/3D/EnemyDropModule3D.cs" id="28_2ut2v"]
|
||||
[ext_resource type="Texture2D" uid="uid://dq60rr6ejqd2t" path="res://Sprites/Actors/Shadow-Blob_001.png" id="28_t121s"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jgarc"]
|
||||
radius = 0.343
|
||||
|
|
@ -55,15 +55,6 @@ radius = 3.04834
|
|||
height = 0.853027
|
||||
radius = 0.426758
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cc7e7"]
|
||||
transparency = 1
|
||||
depth_draw_mode = 2
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0, 0, 0, 0.235294)
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_05pdu"]
|
||||
material = SubResource("StandardMaterial3D_cc7e7")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j6bpw"]
|
||||
render_priority = 1
|
||||
transparency = 1
|
||||
|
|
@ -228,13 +219,6 @@ shape = SubResource("CylinderShape3D_uv2lf")
|
|||
script = ExtResource("18_4fnoq")
|
||||
ResourceName = "Health"
|
||||
|
||||
[node name="Shadow" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -0.29, 0)
|
||||
mesh = SubResource("QuadMesh_05pdu")
|
||||
script = ExtResource("19_4fnoq")
|
||||
AutoEnable = false
|
||||
CollisionMask = 1
|
||||
|
||||
[node name="GravityProvider" type="Node" parent="."]
|
||||
script = ExtResource("25_qg061")
|
||||
Gravity = -20.0
|
||||
|
|
@ -274,6 +258,13 @@ sprite_frames = SubResource("SpriteFrames_t121s")
|
|||
script = ExtResource("28_2ut2v")
|
||||
StorageModule = NodePath("../Storage")
|
||||
|
||||
[node name="Shadow2" type="Decal" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.13562012, -0.118652344, 0.13336182)
|
||||
size = Vector3(0.5, 0.7373047, 0.5)
|
||||
texture_albedo = ExtResource("28_t121s")
|
||||
normal_fade = 0.5
|
||||
cull_mask = 1048574
|
||||
|
||||
[connection signal="body_entered" from="PlayerDetectionProvider" to="PlayerDetectionProvider" method="_on_body_entered"]
|
||||
[connection signal="body_exited" from="PlayerDetectionProvider" to="PlayerDetectionProvider" method="_on_body_exited"]
|
||||
[connection signal="velocity_computed" from="NavigationAgent3D" to="NavigationProvider" method="_on_navigation_agent_3d_velocity_computed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue