39 lines
1.4 KiB
Text
39 lines
1.4 KiB
Text
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://textures/atlas/water/water_surface_normal.png" type="Texture" id=1]
|
|
[ext_resource path="res://textures/atlas/water/water_surface_refraction.png" type="Texture" id=2]
|
|
[ext_resource path="res://textures/atlas/water/water_surface_transmission.png" type="Texture" id=3]
|
|
[ext_resource path="res://shaders/water_plane/water_plane.tres" type="Animation" id=4]
|
|
|
|
[sub_resource type="SpatialMaterial" id=1]
|
|
flags_transparent = true
|
|
params_blend_mode = 1
|
|
params_cull_mode = 2
|
|
albedo_color = Color( 0.0901961, 0.301961, 0.396078, 0.576471 )
|
|
normal_enabled = true
|
|
normal_scale = 16.0
|
|
normal_texture = ExtResource( 1 )
|
|
transmission_enabled = true
|
|
transmission = Color( 0, 0, 0, 1 )
|
|
transmission_texture = ExtResource( 3 )
|
|
refraction_enabled = true
|
|
refraction_scale = 1.0
|
|
refraction_texture = ExtResource( 2 )
|
|
refraction_texture_channel = 0
|
|
uv1_offset = Vector3( -0.182718, 0, 0 )
|
|
|
|
[sub_resource type="PlaneMesh" id=2]
|
|
material = SubResource( 1 )
|
|
size = Vector2( 3.5, 1.8 )
|
|
|
|
[node name="water_plane" type="Spatial"]
|
|
|
|
[node name="mesh_instance" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.999998, -0.00185714, 0, 0.00185714, 0.999998, 0, 0, 0 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
|
|
[node name="animation_player" type="AnimationPlayer" parent="mesh_instance"]
|
|
autoplay = "fountain_anim"
|
|
playback_speed = 0.01
|
|
anims/fountain_anim = ExtResource( 4 )
|