game: water shader experiments
This commit is contained in:
@@ -1,10 +1,31 @@
|
||||
[gd_resource type="TileSet" load_steps=4 format=3 uid="uid://c3clgitssvdlg"]
|
||||
[gd_resource type="TileSet" load_steps=8 format=3 uid="uid://c3clgitssvdlg"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://2xgqhe7u6lfq" path="res://assets/sprites/roguelikeSheet_transparent.png" id="1_kkifh"]
|
||||
[ext_resource type="Shader" uid="uid://clpp23h7fpamt" path="res://assets/shaders/water2.gdshader" id="1_n3s2j"]
|
||||
|
||||
[sub_resource type="TileMapPattern" id="TileMapPattern_beh8d"]
|
||||
tile_data = PackedInt32Array(0, 655360, 7, 65536, 655360, 8, 131072, 655360, 9, 1, 720896, 7, 65537, 720896, 8, 131073, 720896, 9, 2, 786432, 7, 65538, 786432, 8, 131074, 786432, 9)
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_n3s2j"]
|
||||
seed = 3
|
||||
frequency = 0.0066
|
||||
fractal_type = 2
|
||||
fractal_gain = 0.435
|
||||
fractal_weighted_strength = 1.0
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_m3ddo"]
|
||||
width = 2048
|
||||
height = 2048
|
||||
seamless = true
|
||||
noise = SubResource("FastNoiseLite_n3s2j")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_n3s2j"]
|
||||
shader = ExtResource("1_n3s2j")
|
||||
shader_parameter/water_color = Color(0.388235, 0.772549, 0.811765, 1)
|
||||
shader_parameter/noise_tex = SubResource("NoiseTexture2D_m3ddo")
|
||||
shader_parameter/noise_speed = Vector2(0.03, 0.01)
|
||||
shader_parameter/noise_strength = 0.05
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_s7nh2"]
|
||||
texture = ExtResource("1_kkifh")
|
||||
separation = Vector2i(1, 1)
|
||||
@@ -13,6 +34,7 @@ separation = Vector2i(1, 1)
|
||||
1:0/0 = 0
|
||||
1:0/0/terrain_set = 0
|
||||
2:0/0 = 0
|
||||
2:0/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
2:0/0/terrain_set = 0
|
||||
2:0/0/terrain = 1
|
||||
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -6.02527, 8, 8, -5.84541, 8, -3.95689, -2.96767)
|
||||
@@ -25,6 +47,7 @@ separation = Vector2i(1, 1)
|
||||
2:0/0/terrains_peering_bit/top_side = 0
|
||||
2:0/0/terrains_peering_bit/top_right_corner = 0
|
||||
3:0/0 = 0
|
||||
3:0/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
3:0/0/terrain_set = 0
|
||||
3:0/0/terrain = 1
|
||||
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, 8, -8, 8, -8, -5.84541, 8, -5.75548)
|
||||
@@ -37,6 +60,7 @@ separation = Vector2i(1, 1)
|
||||
3:0/0/terrains_peering_bit/top_side = 0
|
||||
3:0/0/terrains_peering_bit/top_right_corner = 0
|
||||
4:0/0 = 0
|
||||
4:0/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
4:0/0/terrain_set = 0
|
||||
4:0/0/terrain = 1
|
||||
4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(6.02527, 8, -8, 8, -8, -5.84541, 2.96767, -3.95689)
|
||||
@@ -124,6 +148,7 @@ separation = Vector2i(1, 1)
|
||||
1:1/0/terrains_peering_bit/top_side = 1
|
||||
1:1/0/terrains_peering_bit/top_right_corner = 1
|
||||
2:1/0 = 0
|
||||
2:1/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
2:1/0/terrain_set = 0
|
||||
2:1/0/terrain = 1
|
||||
2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -5.84541, 8, -5.75548, -8)
|
||||
@@ -136,6 +161,7 @@ separation = Vector2i(1, 1)
|
||||
2:1/0/terrains_peering_bit/top_side = 1
|
||||
2:1/0/terrains_peering_bit/top_right_corner = 1
|
||||
3:1/0 = 0
|
||||
3:1/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
3:1/0/terrain_set = 0
|
||||
3:1/0/terrain = 1
|
||||
3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -8, -8, 8, -8, 8, 8)
|
||||
@@ -148,6 +174,7 @@ separation = Vector2i(1, 1)
|
||||
3:1/0/terrains_peering_bit/top_side = 1
|
||||
3:1/0/terrains_peering_bit/top_right_corner = 1
|
||||
4:1/0 = 0
|
||||
4:1/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
4:1/0/terrain_set = 0
|
||||
4:1/0/terrain = 1
|
||||
4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -8, -8, 5.84541, -8, 5.75548, 8)
|
||||
@@ -245,6 +272,7 @@ separation = Vector2i(1, 1)
|
||||
1:2/0/terrains_peering_bit/top_side = 1
|
||||
1:2/0/terrains_peering_bit/top_right_corner = 1
|
||||
2:2/0 = 0
|
||||
2:2/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
2:2/0/terrain_set = 0
|
||||
2:2/0/terrain = 1
|
||||
2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-6.02527, -8, 8, -8, 8, 5.84541, -2.96767, 3.95689)
|
||||
@@ -257,6 +285,7 @@ separation = Vector2i(1, 1)
|
||||
2:2/0/terrains_peering_bit/top_side = 1
|
||||
2:2/0/terrains_peering_bit/top_right_corner = 1
|
||||
3:2/0 = 0
|
||||
3:2/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
3:2/0/terrain_set = 0
|
||||
3:2/0/terrain = 1
|
||||
3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 5.84541, -8, 5.75548)
|
||||
@@ -269,6 +298,7 @@ separation = Vector2i(1, 1)
|
||||
3:2/0/terrains_peering_bit/top_side = 1
|
||||
3:2/0/terrains_peering_bit/top_right_corner = 1
|
||||
4:2/0 = 0
|
||||
4:2/0/material = SubResource("ShaderMaterial_n3s2j")
|
||||
4:2/0/terrain_set = 0
|
||||
4:2/0/terrain = 1
|
||||
4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 6.02527, -8, -8, 5.84541, -8, 3.95689, 2.96767)
|
||||
|
Reference in New Issue
Block a user