add fake shadow

This commit is contained in:
Matteo Sonaglioni
2026-03-16 00:47:06 +01:00
parent ccdfba2878
commit 461a08aa6d
31 changed files with 725 additions and 94 deletions

View File

@@ -5,6 +5,16 @@
[ext_resource type="Shader" uid="uid://do0tct77dfhef" path="res://Shaders/snow.gdshader" id="2_wanxj"]
[ext_resource type="Material" uid="uid://dbmyfi5t0yfy" path="res://Materials/House_Emissiv.tres" id="3_n3fsy"]
[sub_resource type="Gradient" id="Gradient_n4qy2"]
offsets = PackedFloat32Array(0.9980237, 1)
colors = PackedColorArray(0, 0, 0, 0.5882353, 0, 0, 0, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_wanxj"]
gradient = SubResource("Gradient_n4qy2")
fill = 2
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(0.9017094, 0.12820514)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_fprka"]
render_priority = 0
shader = ExtResource("2_wanxj")
@@ -12,7 +22,12 @@ shader_parameter/snow_color = Color(0.95, 0.98, 1, 1)
[node name="House_XL_4" unique_id=1350238174 instance=ExtResource("1_r3art")]
[node name="House_XL_4" parent="." index="0" unique_id=479839665]
[node name="Shadow" type="Decal" parent="." index="0" unique_id=705347391]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15501308)
size = Vector3(9, 0.5, 9)
texture_albedo = SubResource("GradientTexture2D_wanxj")
[node name="House_XL_4" parent="." index="1" unique_id=479839665]
material_overlay = SubResource("ShaderMaterial_fprka")
surface_material_override/0 = ExtResource("2_mswf7")
surface_material_override/1 = ExtResource("3_n3fsy")