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

@@ -9,8 +9,23 @@ render_priority = 0
shader = ExtResource("3_n4qy2")
shader_parameter/snow_color = Color(0.95, 0.98, 1, 1)
[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_0x3ja"]
gradient = SubResource("Gradient_n4qy2")
fill = 2
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(0.9017094, 0.12820514)
[node name="HouseTest_4" unique_id=462882013 instance=ExtResource("1_03u1s")]
[node name="Cube_008" parent="." index="0" unique_id=2087805025]
material_override = ExtResource("2_n4qy2")
material_overlay = SubResource("ShaderMaterial_0x3ja")
[node name="Shadow" type="Decal" parent="." index="1" unique_id=30846848]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.059038162, 0, 0)
size = Vector3(9, 0.5, 9)
texture_albedo = SubResource("GradientTexture2D_0x3ja")