1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
[gd_scene load_steps=8 format=2]
[ext_resource path="res://water/Wave.gdshader" type="Shader" id=1]
[ext_resource path="res://water/Water.gd" type="Script" id=2]
[ext_resource path="res://water/foam_map.png" type="Texture" id=3]
[sub_resource type="PlaneMesh" id=9]
size = Vector2( 2000, 2000 )
subdivide_width = 500
subdivide_depth = 500
[sub_resource type="OpenSimplexNoise" id=17]
[sub_resource type="NoiseTexture" id=21]
seamless = true
as_normalmap = true
noise = SubResource( 17 )
[sub_resource type="ShaderMaterial" id=11]
shader = ExtResource( 1 )
shader_param/wave1 = Vector3( 0.5, 0.628319, 0.795775 )
shader_param/wave1_dir = Vector2( 1, 0 )
shader_param/wave1_t = 0.0
shader_param/wave2 = Vector3( 0.5, 0.628319, 0.795775 )
shader_param/wave2_dir = Vector2( 1, 0 )
shader_param/wave2_t = 0.0
shader_param/wave3 = Vector3( 0.5, 0.628319, 0.795775 )
shader_param/wave3_dir = Vector2( 1, 0 )
shader_param/wave3_t = 0.0
shader_param/wave4 = Vector3( 0.5, 0.628319, 0.795775 )
shader_param/wave4_dir = Vector2( 1, 0 )
shader_param/wave4_t = 0.0
shader_param/wave5 = Vector3( 0.5, 0.628319, 0.795775 )
shader_param/wave5_dir = Vector2( 1, 0 )
shader_param/wave5_t = 0.0
shader_param/wave6 = Vector3( 0.5, 0.628319, 0.795775 )
shader_param/wave6_dir = Vector2( 1, 0 )
shader_param/wave6_t = 0.0
shader_param/wave_size = 1.0
shader_param/water_color = Color( 0.172549, 0.364706, 0.45098, 0.54902 )
shader_param/foam_color = Color( 0.64, 0.752, 0.8, 0.54902 )
shader_param/foam_amount_edge = 2.0
shader_param/foam_amount_crest = 10.0
shader_param/murkiness = 4.0
shader_param/refraction_amount = 0.01
shader_param/foam_map = ExtResource( 3 )
shader_param/noise = SubResource( 21 )
[node name="Water" type="Spatial"]
script = ExtResource( 2 )
[node name="MeshInstance" type="MeshInstance" parent="."]
layers = 2
mesh = SubResource( 9 )
material/0 = SubResource( 11 )
|