diff --git a/game/textures/world/liquid/water.tres b/game/textures/world/liquid/water.tres new file mode 100644 index 00000000..4d317ac5 --- /dev/null +++ b/game/textures/world/liquid/water.tres @@ -0,0 +1,101 @@ +[gd_resource type="Resource" load_steps=17 format=2] + +[ext_resource path="res://addons/mat_maker_gd/nodes/mm_material.gd" type="Script" id=1] +[ext_resource path="res://addons/mat_maker_gd/nodes/mm_node_universal_property.gd" type="Script" id=2] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.gd" type="Script" id=3] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/colorize.gd" type="Script" id=4] +[ext_resource path="res://addons/mat_maker_gd/nodes/other/output_image.gd" type="Script" id=5] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/make_tileable.gd" type="Script" id=6] + +[sub_resource type="Resource" id=1] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=2] +script = ExtResource( 3 ) +graph_position = Vector2( 0, 0 ) +image = SubResource( 1 ) +type = 0 +scale = Vector2( 2, 2 ) +folds = 0 +iterations = 5 +persistence = 0.5 + +[sub_resource type="Resource" id=3] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=4] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 1.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 1 ) + +[sub_resource type="Resource" id=5] +script = ExtResource( 4 ) +graph_position = Vector2( 260, 0 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0.0398254, 0.344255, 0.566406, 1, 0.508475, 0.376061, 0.531586, 0.667135, 1, 1, 0.930923, 0.933838, 0.964844, 1 ) +image = SubResource( 3 ) +input = SubResource( 4 ) + +[sub_resource type="Resource" id=8] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=9] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 8 ) + +[sub_resource type="Resource" id=7] +script = ExtResource( 5 ) +graph_position = Vector2( 740, 20 ) +image = SubResource( 9 ) +postfix = "_albedo" + +[sub_resource type="Resource" id=10] +script = ExtResource( 2 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 3 ) + +[sub_resource type="Resource" id=11] +script = ExtResource( 6 ) +graph_position = Vector2( 480, 0 ) +image = SubResource( 8 ) +input = SubResource( 10 ) +width = 0.38 + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 256, 256 ) +nodes = [ SubResource( 2 ), SubResource( 5 ), SubResource( 7 ), SubResource( 11 ) ] diff --git a/game/textures/world/liquid/water_albedo.png b/game/textures/world/liquid/water_albedo.png new file mode 100644 index 00000000..598313d8 Binary files /dev/null and b/game/textures/world/liquid/water_albedo.png differ diff --git a/game/textures/world/liquid/water_albedo.png.import b/game/textures/world/liquid/water_albedo.png.import new file mode 100644 index 00000000..e2617b8c --- /dev/null +++ b/game/textures/world/liquid/water_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/water_albedo.png-7c7237e37e4f483a4a302e671def2102.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/world/liquid/water_albedo.png" +dest_files=[ "res://.import/water_albedo.png-7c7237e37e4f483a4a302e671def2102.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0