Water Shader

This commit is contained in:
Matteo Sonaglioni
2026-03-22 19:09:31 +01:00
parent 3d7af76005
commit 1f56b8c5d8
8 changed files with 173 additions and 68 deletions

View File

@@ -18,12 +18,16 @@ emission_enabled = true
emission = Color(0.59849787, 0.2744873, 0.018916829, 1)
emission_energy_multiplier = 14.84
[sub_resource type="BoxMesh" id="BoxMesh_dbt0l"]
[node name="Train2" unique_id=206892833 instance=ExtResource("1_8k78i")]
transform = Transform3D(-0.85, 0, -1.2834644e-07, 0, 0.85, 0, 1.2834644e-07, 0, -0.85, 0, 0, 0)
[node name="polySurface3708_002" parent="." index="0" unique_id=1525054251]
transform = Transform3D(99.99998, 0, 0, 0, -4.3711375e-06, 99.99999, 0, -99.99997, -4.3711384e-06, 0, 1.5, 0)
visible = false
material_overlay = SubResource("ShaderMaterial_tvivt")
cast_shadow = 0
surface_material_override/0 = ExtResource("2_crne2")
surface_material_override/1 = ExtResource("3_tf27f")
surface_material_override/2 = ExtResource("2_crne2")
@@ -124,13 +128,17 @@ transform = Transform3D(-2.4656883e-08, 1, 0, -0.5640837, -4.371139e-08, 0, 0, 0
mesh = SubResource("PlaneMesh_8k78i")
surface_material_override/0 = SubResource("StandardMaterial3D_crne2")
[node name="OmniLight3D" type="OmniLight3D" parent="." index="20" unique_id=1693942993]
[node name="MeshInstance3D16" type="MeshInstance3D" parent="." index="20" unique_id=378179696]
transform = Transform3D(3.1700006, 0, 0, 0, 3.1700006, 0, 0, 0, 16.415005, -3.5393626e-08, 1.9236344, 0.23440138)
mesh = SubResource("BoxMesh_dbt0l")
[node name="OmniLight3D" type="OmniLight3D" parent="." index="21" unique_id=1693942993]
transform = Transform3D(1, 0, 0, 0, -1.1920932e-07, -1, 0, 1, -1.1920932e-07, -0.9650913, 1.3310676, 8.449412)
light_color = Color(0.9818843, 0.6206694, 0.26694176, 1)
omni_range = 0.437
omni_attenuation = 0.367
[node name="OmniLight3D2" type="OmniLight3D" parent="." index="21" unique_id=1965838060]
[node name="OmniLight3D2" type="OmniLight3D" parent="." index="22" unique_id=1965838060]
transform = Transform3D(1, 0, 0, 0, -1.1920932e-07, -1, 0, 1, -1.1920932e-07, 0.9597263, 1.3310676, 8.449412)
light_color = Color(0.9818843, 0.6206694, 0.26694176, 1)
omni_range = 0.437