Mutually_Assured_Destruction/shaders/water_plane.tscn

54 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

2023-06-11 10:44:54 -04:00
[gd_scene load_steps=9 format=3 uid="uid://c2casdi4d2o3j"]
[ext_resource type="Shader" path="res://shaders/water.gdshader" id="1_yfj5n"]
[ext_resource type="Texture2D" uid="uid://bsw8l5crn3aid" path="res://assets/textures/water.png" id="2_83coh"]
[sub_resource type="QuadMesh" id="QuadMesh_x322w"]
2023-06-11 17:43:05 -04:00
subdivide_width = 1
subdivide_depth = 1
2023-06-11 10:44:54 -04:00
orientation = 1
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ido7w"]
noise_type = 3
fractal_type = 2
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_ntr7e"]
2023-06-11 17:43:05 -04:00
width = 1920
height = 1920
2023-06-11 10:44:54 -04:00
seamless = true
as_normal_map = true
2023-06-11 17:43:05 -04:00
bump_strength = 21.8
2023-06-11 10:44:54 -04:00
noise = SubResource("FastNoiseLite_ido7w")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_bfpu3"]
noise_type = 3
seed = 69
fractal_type = 2
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_wvpl0"]
2023-06-11 17:43:05 -04:00
width = 1920
height = 1920
2023-06-11 10:44:54 -04:00
seamless = true
2023-06-11 17:43:05 -04:00
seamless_blend_skirt = 0.283
2023-06-11 10:44:54 -04:00
as_normal_map = true
2023-06-11 17:43:05 -04:00
bump_strength = 20.8
2023-06-11 10:44:54 -04:00
noise = SubResource("FastNoiseLite_bfpu3")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_yma05"]
render_priority = 0
shader = ExtResource("1_yfj5n")
2023-06-11 17:43:05 -04:00
shader_parameter/albedo = Color(0.0980392, 0.0470588, 0.415686, 1)
shader_parameter/albedo2 = Color(0.298039, 0.341176, 0.658824, 1)
shader_parameter/metallic = 0.809
shader_parameter/roughness = 0.166
2023-06-11 10:44:54 -04:00
shader_parameter/wave_direction = Vector2(2, 0)
shader_parameter/wave_direction2 = Vector2(0, 1)
2023-06-11 13:00:56 -04:00
shader_parameter/time_scale = 0.005
2023-06-11 10:44:54 -04:00
shader_parameter/texture_normal = SubResource("NoiseTexture2D_ntr7e")
shader_parameter/texture_normal2 = SubResource("NoiseTexture2D_wvpl0")
shader_parameter/texture_image = ExtResource("2_83coh")
[node name="water_plane" type="MeshInstance3D"]
mesh = SubResource("QuadMesh_x322w")
surface_material_override/0 = SubResource("ShaderMaterial_yma05")