69 lines
3.3 KiB
Text
69 lines
3.3 KiB
Text
[gd_scene load_steps=18 format=2]
|
|
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_0_0.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_1_-1.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_1_1.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_-1_-1.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_-1_0.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_0_1.tscn" type="PackedScene" id=6]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_-1_1.tscn" type="PackedScene" id=7]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_0_-1.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_1_0.tscn" type="PackedScene" id=9]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Caustic.png" type="Texture" id=10]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Water_N_A.png" type="Texture" id=11]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Water_UV.png" type="Texture" id=12]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Water_N_B.png" type="Texture" id=13]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Foam.png" type="Texture" id=14]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/water.shader" type="Shader" id=15]
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
|
shader = ExtResource( 15 )
|
|
shader_param/wave_speed = 0.0
|
|
shader_param/wave_a = Plane( 1, 1, 0.35, 3 )
|
|
shader_param/wave_b = Plane( 1, 0.6, 0.3, 1.55 )
|
|
shader_param/wave_c = Plane( 1, 1.3, 0.25, 0.9 )
|
|
shader_param/sampler_scale = Vector2( 1.2, 1.2 )
|
|
shader_param/sampler_direction = Vector2( 0.05, 0.04 )
|
|
shader_param/uv_sampler_scale = Vector2( 0.25, 0.25 )
|
|
shader_param/uv_sampler_strength = 0.04
|
|
shader_param/foam_level = 0.5
|
|
shader_param/refraction = 0.075
|
|
shader_param/color_deep = Color( 0.466667, 0.666667, 0.901961, 1 )
|
|
shader_param/color_shallow = Color( 0.666667, 0.752941, 0.768627, 1 )
|
|
shader_param/beers_law = 1.3
|
|
shader_param/depth_offset = -0.75
|
|
shader_param/projector = null
|
|
shader_param/uv_sampler = ExtResource( 12 )
|
|
shader_param/normalmap_a_sampler = ExtResource( 11 )
|
|
shader_param/normalmap_b_sampler = ExtResource( 13 )
|
|
shader_param/foam_sampler = ExtResource( 14 )
|
|
shader_param/caustic_sampler = ExtResource( 10 )
|
|
|
|
[sub_resource type="PlaneMesh" id=2]
|
|
material = SubResource( 1 )
|
|
size = Vector2( 6, 6 )
|
|
|
|
[node name="demo" type="Spatial"]
|
|
|
|
[node name="ground_0_0" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="ground_0_1" parent="." instance=ExtResource( 6 )]
|
|
|
|
[node name="ground_0_-1" parent="." instance=ExtResource( 8 )]
|
|
|
|
[node name="ground_1_0" parent="." instance=ExtResource( 9 )]
|
|
|
|
[node name="ground_1_1" parent="." instance=ExtResource( 3 )]
|
|
|
|
[node name="ground_1_-1" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="ground_-1_0" parent="." instance=ExtResource( 5 )]
|
|
|
|
[node name="ground_-1_1" parent="." instance=ExtResource( 7 )]
|
|
|
|
[node name="ground_-1_-1" parent="." instance=ExtResource( 4 )]
|
|
|
|
[node name="water" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.074535, 0 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|