From abf631614644f2bab6a93d33966c3a1d6a704944 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Mon, 16 Sep 2024 12:23:10 -0700 Subject: [PATCH] Update lighting effects --- Characters/Player.tscn | 8 ++++---- Entities/Torch.tscn | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Characters/Player.tscn b/Characters/Player.tscn index d9fc4ea..fde79a3 100644 --- a/Characters/Player.tscn +++ b/Characters/Player.tscn @@ -27,7 +27,6 @@ [ext_resource type="Script" path="res://BoundingBoxes/InteractionRay.cs" id="13_hs3u1"] [ext_resource type="Script" path="res://State/Character/PlayerHealState.cs" id="13_t103m"] [ext_resource type="Script" path="res://State/Character/PlayerMaxLevelState.cs" id="14_1sn10"] -[ext_resource type="Texture2D" uid="uid://d1ukste16yq6v" path="res://Assets/Sprites/Particles/player-light.png" id="15_3hahh"] [ext_resource type="Script" path="res://Utils/DamageTime.cs" id="15_4xl06"] [ext_resource type="AudioStream" uid="uid://st8qgqiygy5a" path="res://Assets/Sounds/electricity.wav" id="15_61bua"] [ext_resource type="PackedScene" uid="uid://ce0ph4wk0ylra" path="res://UI/TargetTracer.tscn" id="22_hxi53"] @@ -39,6 +38,7 @@ [ext_resource type="Resource" uid="uid://cl7jvdu2lnv2d" path="res://Items/Weapons/Sword.tres" id="33_3qyfl"] [ext_resource type="Resource" uid="uid://cjsh0dcgbfn77" path="res://Items/Weapons/Bow.tres" id="34_70ron"] [ext_resource type="Resource" uid="uid://iqe6rgnb3jur" path="res://Items/Weapons/Pugio.tres" id="35_4pap1"] +[ext_resource type="Texture2D" uid="uid://coarr28adgo1u" path="res://Assets/Sprites/Particles/point-light.png" id="38_6udj8"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_h78y7"] shader = ExtResource("2_ngsgt") @@ -871,12 +871,12 @@ script = ExtResource("13_hs3u1") [node name="PointLight2D" type="PointLight2D" parent="."] position = Vector2(0, -4) -blend_mode = 2 +energy = 0.2 shadow_enabled = true shadow_filter = 2 shadow_filter_smooth = 3.0 -texture = ExtResource("15_3hahh") -height = 10.0 +texture = ExtResource("38_6udj8") +texture_scale = 0.5 [node name="DamageTime" type="Node" parent="."] script = ExtResource("15_4xl06") diff --git a/Entities/Torch.tscn b/Entities/Torch.tscn index 283322d..14ce5bd 100644 --- a/Entities/Torch.tscn +++ b/Entities/Torch.tscn @@ -84,9 +84,7 @@ texture = ExtResource("2_cwgtj") color = Color(1, 0.811765, 0.537255, 1) energy = 1.2 blend_mode = 2 -shadow_enabled = true shadow_filter_smooth = 3.0 -shadow_item_cull_mask = 8 texture = ExtResource("2_hotvd") offset = Vector2(0, 2) texture_scale = 0.25