diff --git a/game/modules/planets/textures/dirt_albedo.png.import b/game/modules/planets/textures/dirt_albedo.png.import index 71cd7e6..fdfed82 100644 --- a/game/modules/planets/textures/dirt_albedo.png.import +++ b/game/modules/planets/textures/dirt_albedo.png.import @@ -14,7 +14,7 @@ dest_files=[ "res://.import/dirt_albedo.png-b12f2598fac748786b25d7fed2e8ceea.ste [params] -compress/mode=0 +compress/mode=3 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 diff --git a/game/modules/planets/textures/grass_albedo.png.import b/game/modules/planets/textures/grass_albedo.png.import index 5d3d67a..e2ee977 100644 --- a/game/modules/planets/textures/grass_albedo.png.import +++ b/game/modules/planets/textures/grass_albedo.png.import @@ -14,7 +14,7 @@ dest_files=[ "res://.import/grass_albedo.png-0370b00eba0f4d6a0653d2cbbd6b27b8.st [params] -compress/mode=0 +compress/mode=3 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 diff --git a/game/modules/planets/textures/grass_mossy_albedo.png.import b/game/modules/planets/textures/grass_mossy_albedo.png.import index 39b20c5..abeff9b 100644 --- a/game/modules/planets/textures/grass_mossy_albedo.png.import +++ b/game/modules/planets/textures/grass_mossy_albedo.png.import @@ -14,7 +14,7 @@ dest_files=[ "res://.import/grass_mossy_albedo.png-89be3f7f64f99f8dc346761a8d105 [params] -compress/mode=0 +compress/mode=3 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 diff --git a/game/modules/planets/textures/stone_1_albedo.png.import b/game/modules/planets/textures/stone_1_albedo.png.import index 4db30b7..1aec465 100644 --- a/game/modules/planets/textures/stone_1_albedo.png.import +++ b/game/modules/planets/textures/stone_1_albedo.png.import @@ -14,7 +14,7 @@ dest_files=[ "res://.import/stone_1_albedo.png-8d9d1359c7386fbe18c4eb3d578278b2. [params] -compress/mode=0 +compress/mode=3 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 diff --git a/game/modules/planets/textures/stone_dungeon_1_albedo.png.import b/game/modules/planets/textures/stone_dungeon_1_albedo.png.import index 1d204e8..d5e410c 100644 --- a/game/modules/planets/textures/stone_dungeon_1_albedo.png.import +++ b/game/modules/planets/textures/stone_dungeon_1_albedo.png.import @@ -14,7 +14,7 @@ dest_files=[ "res://.import/stone_dungeon_1_albedo.png-a589b6e6212398a160eb6e1a4 [params] -compress/mode=0 +compress/mode=3 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 diff --git a/game/modules/planets/textures/test_brick_albedo.png b/game/modules/planets/textures/test_brick_albedo.png index 1242411..71e21d3 100644 Binary files a/game/modules/planets/textures/test_brick_albedo.png and b/game/modules/planets/textures/test_brick_albedo.png differ diff --git a/game/modules/planets/textures/test_brick_albedo.png.import b/game/modules/planets/textures/test_brick_albedo.png.import index 5249cff..2277d98 100644 --- a/game/modules/planets/textures/test_brick_albedo.png.import +++ b/game/modules/planets/textures/test_brick_albedo.png.import @@ -14,7 +14,7 @@ dest_files=[ "res://.import/test_brick_albedo.png-95796f7bec59b800f32e9a35b47ac0 [params] -compress/mode=0 +compress/mode=3 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 diff --git a/game/scenes/terra_2d_world/new_terrain2dlibrarymergerpcm.tres b/game/scenes/terra_2d_world/new_terrain2dlibrarymergerpcm.tres index 144647b..c1ffa7d 100644 --- a/game/scenes/terra_2d_world/new_terrain2dlibrarymergerpcm.tres +++ b/game/scenes/terra_2d_world/new_terrain2dlibrarymergerpcm.tres @@ -1,13 +1,13 @@ [gd_resource type="Terrain2DLibraryMergerPCM" load_steps=11 format=2] -[ext_resource path="res://modules/planets/textures/dirt_albedo.png" type="Texture" id=1] -[ext_resource path="res://modules/planets/textures/stone_1_albedo.png" type="Texture" id=2] -[ext_resource path="res://modules/planets/textures/test_brick_albedo.png" type="Texture" id=3] -[ext_resource path="res://modules/planets/textures/stone_dungeon_1_albedo.png" type="Texture" id=4] -[ext_resource path="res://modules/planets/textures/grass_albedo.png" type="Texture" id=5] +[ext_resource path="res://textures/world/dirt/dirt_albedo.png" type="Texture" id=1] +[ext_resource path="res://textures/world/stone/stone_1_albedo.png" type="Texture" id=2] +[ext_resource path="res://textures/world/bricks/test_brick_albedo.png" type="Texture" id=3] +[ext_resource path="res://textures/world/grass/grass_albedo.png" type="Texture" id=4] +[ext_resource path="res://textures/world/stone/stone_dungeon_1_albedo.png" type="Texture" id=5] [sub_resource type="Terrain2DSurfaceMerger" id=1] -texture = ExtResource( 5 ) +texture = ExtResource( 4 ) [sub_resource type="Terrain2DSurfaceMerger" id=2] texture = ExtResource( 1 ) @@ -16,10 +16,11 @@ texture = ExtResource( 1 ) texture = ExtResource( 2 ) [sub_resource type="Terrain2DSurfaceMerger" id=4] -texture = ExtResource( 4 ) +texture = ExtResource( 5 ) [sub_resource type="Terrain2DSurfaceMerger" id=5] texture = ExtResource( 3 ) [resource] +texture_flags = 0 terra_surfaces = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ) ] diff --git a/game/textures/particle/magic_particle_1.png b/game/textures/particle/magic_particle_1.png new file mode 100644 index 0000000..d23bd3e Binary files /dev/null and b/game/textures/particle/magic_particle_1.png differ diff --git a/game/textures/particle/magic_particle_1.png.import b/game/textures/particle/magic_particle_1.png.import new file mode 100644 index 0000000..e9aba8e --- /dev/null +++ b/game/textures/particle/magic_particle_1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/magic_particle_1.png-f6b47f4031ed654afe77ae9d794e87a7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/particle/magic_particle_1.png" +dest_files=[ "res://.import/magic_particle_1.png-f6b47f4031ed654afe77ae9d794e87a7.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=1 +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 diff --git a/game/textures/test.png.import b/game/textures/test.png.import new file mode 100644 index 0000000..c58ee37 --- /dev/null +++ b/game/textures/test.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/test.png-e87bdfc7eb0364f7afee143bf66dc9dd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/voxel_textures/test.png" +dest_files=[ "res://.import/test.png-e87bdfc7eb0364f7afee143bf66dc9dd.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +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 +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/game/textures/world/bricks/test_brick.tres b/game/textures/world/bricks/test_brick.tres new file mode 100644 index 0000000..3ee0bf0 --- /dev/null +++ b/game/textures/world/bricks/test_brick.tres @@ -0,0 +1,326 @@ +[gd_resource type="Resource" load_steps=42 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/pattern/bricks.gd" type="Script" id=3] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.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/blend.gd" type="Script" id=6] +[ext_resource path="res://addons/mat_maker_gd/nodes/pattern/scratches.gd" type="Script" id=7] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/colorize.gd" type="Script" id=8] + +[sub_resource type="Resource" id=1] +script = ExtResource( 2 ) +default_type = 1 +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( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.03 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[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 = 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=5] +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=6] +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=7] +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=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 ) + +[sub_resource type="Resource" id=10] +script = ExtResource( 2 ) +default_type = 1 +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=11] +script = ExtResource( 3 ) +graph_position = Vector2( 0, 0 ) +out_bricks_pattern = SubResource( 4 ) +out_random_color = SubResource( 9 ) +out_position_x = SubResource( 7 ) +out_position_y = SubResource( 8 ) +out_brick_uv = SubResource( 3 ) +out_corner_uv = SubResource( 5 ) +out_direction = SubResource( 6 ) +type = 0 +repeat = 1 +col_row = Vector2( 3, 7 ) +offset = 0.5 +mortar = SubResource( 2 ) +bevel = SubResource( 1 ) +roundness = SubResource( 10 ) +corner = 0.3 + +[sub_resource type="Resource" id=12] +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=13] +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( 4 ) + +[sub_resource type="Resource" id=14] +script = ExtResource( 8 ) +graph_position = Vector2( 240, 200 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0.168627, 0.109804, 0.109804, 1, 1, 0.780392, 0.298039, 0.247059, 1 ) +image = SubResource( 12 ) +input = SubResource( 13 ) + +[sub_resource type="Resource" id=15] +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=22] +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=16] +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( 1, 1, 1, 1 ) +input_property = SubResource( 22 ) + +[sub_resource type="Resource" id=17] +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( 1, 1, 1, 1 ) +input_property = SubResource( 12 ) + +[sub_resource type="Resource" id=18] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.52 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=19] +script = ExtResource( 6 ) +graph_position = Vector2( 500, 20 ) +image = SubResource( 15 ) +input1 = SubResource( 16 ) +input2 = SubResource( 17 ) +blend_type = 0 +opacity = SubResource( 18 ) + +[sub_resource type="Resource" id=20] +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=21] +script = ExtResource( 7 ) +graph_position = Vector2( 260, -340 ) +image = SubResource( 20 ) +size = Vector2( 0.23, 0.3 ) +layers = 2 +waviness = 0.05 +angle = 171 +randomness = 0.35 + +[sub_resource type="Resource" id=23] +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( 20 ) + +[sub_resource type="Resource" id=24] +script = ExtResource( 8 ) +graph_position = Vector2( 500, -300 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.40678, 0, 0, 0, 1, 1, 0, 0, 0, 1 ) +image = SubResource( 22 ) +input = SubResource( 23 ) + +[sub_resource type="Resource" id=25] +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=26] +script = ExtResource( 4 ) +graph_position = Vector2( 760, -320 ) +image = SubResource( 25 ) +type = 0 +scale = Vector2( 20, 20 ) +folds = 0 +iterations = 7 +persistence = 0.9 + +[sub_resource type="Resource" id=27] +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=28] +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( 1, 1, 1, 1 ) +input_property = SubResource( 25 ) + +[sub_resource type="Resource" id=29] +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( 1, 1, 1, 1 ) +input_property = SubResource( 15 ) + +[sub_resource type="Resource" id=30] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.61 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=31] +script = ExtResource( 6 ) +graph_position = Vector2( 960, 20 ) +image = SubResource( 27 ) +input1 = SubResource( 28 ) +input2 = SubResource( 29 ) +blend_type = 11 +opacity = SubResource( 30 ) + +[sub_resource type="Resource" id=34] +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( 27 ) + +[sub_resource type="Resource" id=33] +script = ExtResource( 5 ) +graph_position = Vector2( 1200, 60 ) +image = SubResource( 34 ) +postfix = "_albedo" + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 256, 256 ) +nodes = [ SubResource( 11 ), SubResource( 14 ), SubResource( 19 ), SubResource( 21 ), SubResource( 24 ), SubResource( 26 ), SubResource( 31 ), SubResource( 33 ) ] diff --git a/game/textures/world/bricks/test_brick_albedo.png b/game/textures/world/bricks/test_brick_albedo.png new file mode 100644 index 0000000..1242411 Binary files /dev/null and b/game/textures/world/bricks/test_brick_albedo.png differ diff --git a/game/textures/world/bricks/test_brick_albedo.png.import b/game/textures/world/bricks/test_brick_albedo.png.import new file mode 100644 index 0000000..4a7ecc4 --- /dev/null +++ b/game/textures/world/bricks/test_brick_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/test_brick_albedo.png-954a1da055575f495ab0ef84cd1e9878.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/world/bricks/test_brick_albedo.png" +dest_files=[ "res://.import/test_brick_albedo.png-954a1da055575f495ab0ef84cd1e9878.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +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 diff --git a/game/textures/world/dirt/dirt.tres b/game/textures/world/dirt/dirt.tres new file mode 100644 index 0000000..3224135 --- /dev/null +++ b/game/textures/world/dirt/dirt.tres @@ -0,0 +1,470 @@ +[gd_resource type="Resource" load_steps=61 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/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/filter/emboss.gd" type="Script" id=5] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.gd" type="Script" id=6] +[ext_resource path="res://addons/mat_maker_gd/nodes/other/output_image.gd" type="Script" id=7] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/blend.gd" type="Script" id=8] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/make_tileable.gd" type="Script" id=9] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/fill_channel.gd" type="Script" id=10] + +[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( -480, -80 ) +image = SubResource( 1 ) +grid_size = 512 +density = 0.0 + +[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=39] +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=4] +script = ExtResource( 4 ) +graph_position = Vector2( -260, -80 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.677966, 0.188235, 0.141176, 0.101961, 1, 1, 0.282353, 0.235294, 0.0901961, 1 ) +image = SubResource( 3 ) +input = SubResource( 39 ) + +[sub_resource type="Resource" id=5] +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=6] +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( 3 ) + +[sub_resource type="Resource" id=7] +script = ExtResource( 5 ) +graph_position = Vector2( -40, -80 ) +image = SubResource( 5 ) +input = SubResource( 6 ) +angle = 47.9 +amount = 7.3 +width = 1.0 + +[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=40] +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( 5 ) + +[sub_resource type="Resource" id=9] +script = ExtResource( 4 ) +graph_position = Vector2( 180, -80 ) +interpolation_type = 1 +points = PoolRealArray( 0.584746, 0, 0, 0, 0, 0.79661, 0.286275, 0.192157, 0.054902, 1, 1, 0.396078, 0.439216, 0.443137, 1 ) +image = SubResource( 8 ) +input = SubResource( 40 ) + +[sub_resource type="Resource" id=10] +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=11] +script = ExtResource( 6 ) +graph_position = Vector2( -460, 340 ) +image = SubResource( 10 ) +type = 0 +scale = Vector2( 40, 40 ) +folds = 0 +iterations = 4 +persistence = 1.0 + +[sub_resource type="Resource" id=12] +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=41] +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( 10 ) + +[sub_resource type="Resource" id=13] +script = ExtResource( 4 ) +graph_position = Vector2( -260, 360 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0.447059, 0.345098, 0.215686, 1, 0.245763, 0.529412, 0.423529, 0.301961, 1, 0.38983, 0.219608, 0.2, 0.14902, 1, 0.584746, 0.298039, 0.25098, 0.164706, 1, 0.745763, 0.447059, 0.333333, 0.223529, 1, 1, 0.662745, 0.478431, 0.207843, 1 ) +image = SubResource( 12 ) +input = SubResource( 41 ) + +[sub_resource type="Resource" id=14] +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=15] +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( 1, 1, 1, 1 ) +input_property = SubResource( 8 ) + +[sub_resource type="Resource" id=16] +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( 1, 1, 1, 1 ) +input_property = SubResource( 12 ) + +[sub_resource type="Resource" id=17] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.76 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=18] +script = ExtResource( 8 ) +graph_position = Vector2( -20, 360 ) +image = SubResource( 14 ) +input1 = SubResource( 15 ) +input2 = SubResource( 16 ) +blend_type = 6 +opacity = SubResource( 17 ) + +[sub_resource type="Resource" id=19] +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=20] +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( 1, 1, 1, 1 ) +input_property = SubResource( 14 ) + +[sub_resource type="Resource" id=23] +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=24] +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( 1, 1, 1, 1 ) +input_property = SubResource( 23 ) + +[sub_resource type="Resource" id=25] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.6 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=26] +script = ExtResource( 8 ) +graph_position = Vector2( 240, 520 ) +image = SubResource( 19 ) +input1 = SubResource( 20 ) +input2 = SubResource( 24 ) +blend_type = 0 +opacity = SubResource( 25 ) + +[sub_resource type="Resource" id=27] +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=28] +script = ExtResource( 6 ) +graph_position = Vector2( 0, 1280 ) +image = SubResource( 27 ) +type = 0 +scale = Vector2( 15, 25 ) +folds = 0 +iterations = 3 +persistence = 0.5 + +[sub_resource type="Resource" id=29] +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=30] +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( 1, 1, 1, 1 ) + +[sub_resource type="Resource" id=31] +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( 1, 1, 1, 1 ) +input_property = SubResource( 27 ) + +[sub_resource type="Resource" id=32] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.5 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=33] +script = ExtResource( 8 ) +graph_position = Vector2( 240, 1340 ) +image = SubResource( 29 ) +input1 = SubResource( 30 ) +input2 = SubResource( 31 ) +blend_type = 0 +opacity = SubResource( 32 ) + +[sub_resource type="Resource" id=21] +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=34] +script = ExtResource( 6 ) +graph_position = Vector2( -460, 900 ) +image = SubResource( 21 ) +type = 1 +scale = Vector2( 100, 100 ) +folds = 0 +iterations = 10 +persistence = 0.2 + +[sub_resource type="Resource" id=22] +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=42] +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( 21 ) + +[sub_resource type="Resource" id=35] +script = ExtResource( 4 ) +graph_position = Vector2( -240, 940 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.822034, 0, 0, 0, 0, 1, 1, 1, 1, 1 ) +image = SubResource( 22 ) +input = SubResource( 42 ) + +[sub_resource type="Resource" id=43] +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( 22 ) + +[sub_resource type="Resource" id=36] +script = ExtResource( 4 ) +graph_position = Vector2( 0, 940 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.59322, 0, 0, 0, 0, 0.635593, 0.0823529, 0.360784, 0.109804, 1, 0.745763, 0.458824, 0.682353, 0.0901961, 1, 0.872881, 0.227451, 0.462745, 0.25098, 1, 1, 0.494118, 0.839216, 0.6, 1 ) +image = SubResource( 23 ) +input = SubResource( 43 ) + +[sub_resource type="Resource" id=53] +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=38] +script = ExtResource( 7 ) +graph_position = Vector2( 980, 540 ) +image = SubResource( 53 ) +postfix = "_albedo" + +[sub_resource type="Resource" id=45] +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=49] +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=46] +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( 49 ) + +[sub_resource type="Resource" id=47] +script = ExtResource( 9 ) +graph_position = Vector2( 760, 540 ) +image = SubResource( 45 ) +input = SubResource( 46 ) +width = 0.1 + +[sub_resource type="Resource" id=50] +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( 19 ) + +[sub_resource type="Resource" id=51] +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 ) + +[sub_resource type="Resource" id=52] +script = ExtResource( 10 ) +graph_position = Vector2( 520, 540 ) +image = SubResource( 49 ) +input = SubResource( 50 ) +value = SubResource( 51 ) +channel = 3 + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 256, 256 ) +nodes = [ SubResource( 2 ), SubResource( 4 ), SubResource( 7 ), SubResource( 9 ), SubResource( 11 ), SubResource( 13 ), SubResource( 18 ), SubResource( 26 ), SubResource( 28 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ), SubResource( 38 ), SubResource( 47 ), SubResource( 52 ) ] diff --git a/game/textures/world/dirt/dirt_albedo.png b/game/textures/world/dirt/dirt_albedo.png new file mode 100644 index 0000000..1c5e4fe Binary files /dev/null and b/game/textures/world/dirt/dirt_albedo.png differ diff --git a/game/textures/world/dirt/dirt_albedo.png.import b/game/textures/world/dirt/dirt_albedo.png.import new file mode 100644 index 0000000..914eec9 --- /dev/null +++ b/game/textures/world/dirt/dirt_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/dirt_albedo.png-7a69d49d8990a3cc74a87f23d6f7d12b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/world/dirt/dirt_albedo.png" +dest_files=[ "res://.import/dirt_albedo.png-7a69d49d8990a3cc74a87f23d6f7d12b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +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 diff --git a/game/textures/world/grass/grass.tres b/game/textures/world/grass/grass.tres new file mode 100644 index 0000000..5af0416 --- /dev/null +++ b/game/textures/world/grass/grass.tres @@ -0,0 +1,289 @@ +[gd_resource type="Resource" load_steps=40 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/filter/colorize.gd" type="Script" id=2] +[ext_resource path="res://addons/mat_maker_gd/nodes/mm_node_universal_property.gd" type="Script" id=3] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/voronoi.gd" type="Script" id=4] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.gd" type="Script" id=5] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/noise.gd" type="Script" id=6] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/blend.gd" type="Script" id=7] +[ext_resource path="res://addons/mat_maker_gd/nodes/other/output_image.gd" type="Script" id=8] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/make_tileable.gd" type="Script" id=9] + +[sub_resource type="Resource" id=1] +script = ExtResource( 3 ) +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 ) +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=3] +script = ExtResource( 3 ) +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( 3 ) +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=5] +script = ExtResource( 4 ) +graph_position = Vector2( -500, -20 ) +out_nodes = SubResource( 3 ) +out_borders = SubResource( 1 ) +out_random_color = SubResource( 4 ) +out_fill = SubResource( 2 ) +scale = Vector2( 4, 4 ) +stretch = Vector2( 1, 1 ) +intensity = 1.0 +randomness = 0.79 + +[sub_resource type="Resource" id=6] +script = ExtResource( 3 ) +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=7] +script = ExtResource( 6 ) +graph_position = Vector2( -260, 300 ) +image = SubResource( 6 ) +grid_size = 256 +density = 0.0 + +[sub_resource type="Resource" id=8] +script = ExtResource( 3 ) +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=14] +script = ExtResource( 3 ) +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( 3 ) +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( 14 ) + +[sub_resource type="Resource" id=10] +script = ExtResource( 2 ) +graph_position = Vector2( 220, 40 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.754237, 0.447059, 0.4, 0.2, 1, 1, 0.811765, 0.886275, 0.0980392, 1 ) +image = SubResource( 8 ) +input = SubResource( 9 ) + +[sub_resource type="Resource" id=11] +script = ExtResource( 3 ) +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=19] +script = ExtResource( 3 ) +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=12] +script = ExtResource( 3 ) +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( 19 ) + +[sub_resource type="Resource" id=13] +script = ExtResource( 2 ) +graph_position = Vector2( 220, 640 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0.227451, 0.286275, 0.215686, 1, 0.313559, 0.0901961, 0.113725, 0.0941176, 1, 0.669492, 0.14902, 0.223529, 0.14902, 1, 1, 0.376471, 0.521569, 0.329412, 1 ) +image = SubResource( 11 ) +input = SubResource( 12 ) + +[sub_resource type="Resource" id=15] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 3 ) + +[sub_resource type="Resource" id=16] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 6 ) + +[sub_resource type="Resource" id=17] +script = ExtResource( 3 ) +default_type = 1 +default_int = 0 +default_float = 0.22 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=18] +script = ExtResource( 7 ) +graph_position = Vector2( -20, 20 ) +image = SubResource( 14 ) +input1 = SubResource( 15 ) +input2 = SubResource( 16 ) +blend_type = 11 +opacity = SubResource( 17 ) + +[sub_resource type="Resource" id=20] +script = ExtResource( 5 ) +graph_position = Vector2( -20, 640 ) +image = SubResource( 19 ) +type = 0 +scale = Vector2( 30, 30 ) +folds = 0 +iterations = 6 +persistence = 0.8 + +[sub_resource type="Resource" id=21] +script = ExtResource( 3 ) +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=22] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 8 ) + +[sub_resource type="Resource" id=23] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 11 ) + +[sub_resource type="Resource" id=24] +script = ExtResource( 3 ) +default_type = 1 +default_int = 0 +default_float = 0.74 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=25] +script = ExtResource( 7 ) +graph_position = Vector2( 440, 280 ) +image = SubResource( 21 ) +input1 = SubResource( 22 ) +input2 = SubResource( 23 ) +blend_type = 4 +opacity = SubResource( 24 ) + +[sub_resource type="Resource" id=28] +script = ExtResource( 3 ) +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=26] +script = ExtResource( 3 ) +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( 28 ) + +[sub_resource type="Resource" id=27] +script = ExtResource( 8 ) +graph_position = Vector2( 900, 340 ) +image = SubResource( 26 ) +postfix = "_albedo" + +[sub_resource type="Resource" id=29] +script = ExtResource( 3 ) +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( 21 ) + +[sub_resource type="Resource" id=30] +script = ExtResource( 9 ) +graph_position = Vector2( 680, 340 ) +image = SubResource( 28 ) +input = SubResource( 29 ) +width = 0.1 + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 256, 256 ) +nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 13 ), SubResource( 18 ), SubResource( 20 ), SubResource( 25 ), SubResource( 27 ), SubResource( 30 ) ] diff --git a/game/textures/world/grass/grass_albedo.png b/game/textures/world/grass/grass_albedo.png new file mode 100644 index 0000000..e5bac02 Binary files /dev/null and b/game/textures/world/grass/grass_albedo.png differ diff --git a/game/textures/world/grass/grass_albedo.png.import b/game/textures/world/grass/grass_albedo.png.import new file mode 100644 index 0000000..6f7d9bc --- /dev/null +++ b/game/textures/world/grass/grass_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/grass_albedo.png-98f823f3934e2385e621ff43b9d5e799.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/world/grass/grass_albedo.png" +dest_files=[ "res://.import/grass_albedo.png-98f823f3934e2385e621ff43b9d5e799.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=1 +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 diff --git a/game/textures/world/grass/grass_mossy.tres b/game/textures/world/grass/grass_mossy.tres new file mode 100644 index 0000000..ff95b56 --- /dev/null +++ b/game/textures/world/grass/grass_mossy.tres @@ -0,0 +1,288 @@ +[gd_resource type="Resource" load_steps=40 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/filter/colorize.gd" type="Script" id=2] +[ext_resource path="res://addons/mat_maker_gd/nodes/mm_node_universal_property.gd" type="Script" id=3] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/voronoi.gd" type="Script" id=4] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.gd" type="Script" id=5] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/noise.gd" type="Script" id=6] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/blend.gd" type="Script" id=7] +[ext_resource path="res://addons/mat_maker_gd/nodes/other/output_image.gd" type="Script" id=8] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/make_tileable.gd" type="Script" id=9] + +[sub_resource type="Resource" id=1] +script = ExtResource( 3 ) +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 ) +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=3] +script = ExtResource( 3 ) +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( 3 ) +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=5] +script = ExtResource( 4 ) +graph_position = Vector2( -500, -20 ) +out_nodes = SubResource( 3 ) +out_borders = SubResource( 1 ) +out_random_color = SubResource( 4 ) +out_fill = SubResource( 2 ) +scale = Vector2( 4, 4 ) +stretch = Vector2( 1, 1 ) +intensity = 1.0 +randomness = 0.79 + +[sub_resource type="Resource" id=6] +script = ExtResource( 3 ) +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=7] +script = ExtResource( 6 ) +graph_position = Vector2( -260, 300 ) +image = SubResource( 6 ) +grid_size = 256 +density = 0.0 + +[sub_resource type="Resource" id=8] +script = ExtResource( 3 ) +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=14] +script = ExtResource( 3 ) +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( 3 ) +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( 14 ) + +[sub_resource type="Resource" id=10] +script = ExtResource( 2 ) +graph_position = Vector2( 220, 40 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.754237, 0.447059, 0.4, 0.2, 1, 1, 0.811765, 0.886275, 0.0980392, 1 ) +image = SubResource( 8 ) +input = SubResource( 9 ) + +[sub_resource type="Resource" id=11] +script = ExtResource( 3 ) +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=28] +script = ExtResource( 3 ) +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=12] +script = ExtResource( 3 ) +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( 28 ) + +[sub_resource type="Resource" id=13] +script = ExtResource( 2 ) +graph_position = Vector2( 220, 640 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0.227451, 0.286275, 0.215686, 1, 0.313559, 0.0901961, 0.113725, 0.0941176, 1, 0.669492, 0.14902, 0.223529, 0.14902, 1, 1, 0.376471, 0.521569, 0.329412, 1 ) +image = SubResource( 11 ) +input = SubResource( 12 ) + +[sub_resource type="Resource" id=15] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 3 ) + +[sub_resource type="Resource" id=16] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 6 ) + +[sub_resource type="Resource" id=17] +script = ExtResource( 3 ) +default_type = 1 +default_int = 0 +default_float = 0.22 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=18] +script = ExtResource( 7 ) +graph_position = Vector2( -20, 20 ) +image = SubResource( 14 ) +input1 = SubResource( 15 ) +input2 = SubResource( 16 ) +blend_type = 11 +opacity = SubResource( 17 ) + +[sub_resource type="Resource" id=19] +script = ExtResource( 3 ) +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=20] +script = ExtResource( 5 ) +graph_position = Vector2( -220, 640 ) +image = SubResource( 19 ) +type = 0 +scale = Vector2( 30, 30 ) +folds = 0 +iterations = 6 +persistence = 0.8 + +[sub_resource type="Resource" id=21] +script = ExtResource( 3 ) +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=22] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 8 ) + +[sub_resource type="Resource" id=23] +script = ExtResource( 3 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 11 ) + +[sub_resource type="Resource" id=24] +script = ExtResource( 3 ) +default_type = 1 +default_int = 0 +default_float = 0.74 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=25] +script = ExtResource( 7 ) +graph_position = Vector2( 440, 280 ) +image = SubResource( 21 ) +input1 = SubResource( 22 ) +input2 = SubResource( 23 ) +blend_type = 4 +opacity = SubResource( 24 ) + +[sub_resource type="Resource" id=31] +script = ExtResource( 3 ) +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=27] +script = ExtResource( 8 ) +graph_position = Vector2( 660, 340 ) +image = SubResource( 31 ) +postfix = "_albedo" + +[sub_resource type="Resource" id=29] +script = ExtResource( 3 ) +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( 19 ) + +[sub_resource type="Resource" id=30] +script = ExtResource( 9 ) +graph_position = Vector2( -20, 640 ) +image = SubResource( 28 ) +input = SubResource( 29 ) +width = 0.01 + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 256, 256 ) +nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 13 ), SubResource( 18 ), SubResource( 20 ), SubResource( 25 ), SubResource( 27 ), SubResource( 30 ) ] diff --git a/game/textures/world/grass/grass_mossy_albedo.png b/game/textures/world/grass/grass_mossy_albedo.png new file mode 100644 index 0000000..9949d88 Binary files /dev/null and b/game/textures/world/grass/grass_mossy_albedo.png differ diff --git a/game/textures/world/grass/grass_mossy_albedo.png.import b/game/textures/world/grass/grass_mossy_albedo.png.import new file mode 100644 index 0000000..0e838e7 --- /dev/null +++ b/game/textures/world/grass/grass_mossy_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/grass_mossy_albedo.png-a81a460ca5e83d451b21837e8f017c21.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/world/grass/grass_mossy_albedo.png" +dest_files=[ "res://.import/grass_mossy_albedo.png-a81a460ca5e83d451b21837e8f017c21.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +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 diff --git a/game/textures/world/stone/stone_1.tres b/game/textures/world/stone/stone_1.tres new file mode 100644 index 0000000..90b38a9 --- /dev/null +++ b/game/textures/world/stone/stone_1.tres @@ -0,0 +1,198 @@ +[gd_resource type="Resource" load_steps=28 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/filter/blend.gd" type="Script" id=3] +[ext_resource path="res://addons/mat_maker_gd/nodes/other/output_image.gd" type="Script" id=4] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.gd" type="Script" id=5] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/voronoi.gd" type="Script" id=6] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/colorize.gd" type="Script" id=7] + +[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( 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=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 = 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=5] +script = ExtResource( 6 ) +graph_position = Vector2( 120, 0 ) +out_nodes = SubResource( 3 ) +out_borders = SubResource( 1 ) +out_random_color = SubResource( 4 ) +out_fill = SubResource( 2 ) +scale = Vector2( 14, 14 ) +stretch = Vector2( 1, 1 ) +intensity = 1.0 +randomness = 0.95 + +[sub_resource type="Resource" id=6] +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=7] +script = ExtResource( 5 ) +graph_position = Vector2( 360, 320 ) +image = SubResource( 6 ) +type = 0 +scale = Vector2( 20, 20 ) +folds = 0 +iterations = 9 +persistence = 0.9 + +[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 = 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=10] +script = ExtResource( 7 ) +graph_position = Vector2( 360, 20 ) +interpolation_type = 1 +points = PoolRealArray( 0.00635593, 0, 0, 0, 1, 0.53178, 1, 1, 1, 1, 1, 1, 1, 1, 1 ) +image = SubResource( 8 ) +input = SubResource( 9 ) + +[sub_resource type="Resource" id=11] +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=12] +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( 1, 1, 1, 1 ) +input_property = SubResource( 8 ) + +[sub_resource type="Resource" id=13] +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( 1, 1, 1, 1 ) +input_property = SubResource( 6 ) + +[sub_resource type="Resource" id=14] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.63 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=15] +script = ExtResource( 3 ) +graph_position = Vector2( 620, 100 ) +image = SubResource( 11 ) +input1 = SubResource( 12 ) +input2 = SubResource( 13 ) +blend_type = 2 +opacity = SubResource( 14 ) + +[sub_resource type="Resource" id=16] +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=17] +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( 11 ) + +[sub_resource type="Resource" id=18] +script = ExtResource( 7 ) +graph_position = Vector2( 860, 140 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 1, 0.0911017, 0, 0, 0, 1, 0.472458, 0.129412, 0.133333, 0.137255, 1, 0.735169, 0.121569, 0.12549, 0.12549, 1, 1, 0.156863, 0.152941, 0.152941, 1 ) +image = SubResource( 16 ) +input = SubResource( 17 ) + +[sub_resource type="Resource" id=19] +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( 16 ) + +[sub_resource type="Resource" id=20] +script = ExtResource( 4 ) +graph_position = Vector2( 1120, 100 ) +image = SubResource( 19 ) +postfix = "_albedo" + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 256, 256 ) +nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 15 ), SubResource( 18 ), SubResource( 20 ) ] diff --git a/game/textures/world/stone/stone_1_albedo.png b/game/textures/world/stone/stone_1_albedo.png new file mode 100644 index 0000000..3bc5cb7 Binary files /dev/null and b/game/textures/world/stone/stone_1_albedo.png differ diff --git a/game/textures/world/stone/stone_1_albedo.png.import b/game/textures/world/stone/stone_1_albedo.png.import new file mode 100644 index 0000000..fb41705 --- /dev/null +++ b/game/textures/world/stone/stone_1_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/stone_1_albedo.png-fb0a567586fcf362e3d493fbb5f06579.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/world/stone/stone_1_albedo.png" +dest_files=[ "res://.import/stone_1_albedo.png-fb0a567586fcf362e3d493fbb5f06579.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +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 diff --git a/game/textures/world/stone/stone_dungeon_1.tres b/game/textures/world/stone/stone_dungeon_1.tres new file mode 100644 index 0000000..33f3bf1 --- /dev/null +++ b/game/textures/world/stone/stone_dungeon_1.tres @@ -0,0 +1,263 @@ +[gd_resource type="Resource" load_steps=35 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/filter/blend.gd" type="Script" id=3] +[ext_resource path="res://addons/mat_maker_gd/nodes/other/output_image.gd" type="Script" id=4] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.gd" type="Script" id=5] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/voronoi.gd" type="Script" id=6] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/colorize.gd" type="Script" id=7] + +[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( 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=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 = 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=5] +script = ExtResource( 6 ) +graph_position = Vector2( 0, 0 ) +out_nodes = SubResource( 3 ) +out_borders = SubResource( 1 ) +out_random_color = SubResource( 4 ) +out_fill = SubResource( 2 ) +scale = Vector2( 12, 12 ) +stretch = Vector2( 1, 1 ) +intensity = 1.0 +randomness = 0.95 + +[sub_resource type="Resource" id=6] +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=7] +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=8] +script = ExtResource( 7 ) +graph_position = Vector2( 280, 20 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 1, 0.0423729, 1, 1, 1, 1, 1, 1, 1, 1, 1 ) +image = SubResource( 6 ) +input = SubResource( 7 ) + +[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 ) + +[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( 1, 1, 1, 1 ) +input_property = SubResource( 6 ) + +[sub_resource type="Resource" id=14] +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=11] +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( 1, 1, 1, 1 ) +input_property = SubResource( 14 ) + +[sub_resource type="Resource" id=12] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.5 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=13] +script = ExtResource( 3 ) +graph_position = Vector2( 540, 120 ) +image = SubResource( 9 ) +input1 = SubResource( 10 ) +input2 = SubResource( 11 ) +blend_type = 6 +opacity = SubResource( 12 ) + +[sub_resource type="Resource" id=15] +script = ExtResource( 5 ) +graph_position = Vector2( 280, 340 ) +image = SubResource( 14 ) +type = 0 +scale = Vector2( 10, 9 ) +folds = 0 +iterations = 3 +persistence = 0.5 + +[sub_resource type="Resource" id=16] +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=17] +script = ExtResource( 5 ) +graph_position = Vector2( 560, 520 ) +image = SubResource( 16 ) +type = 0 +scale = Vector2( 32, 32 ) +folds = 0 +iterations = 9 +persistence = 0.95 + +[sub_resource type="Resource" id=18] +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=23] +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=19] +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( 23 ) + +[sub_resource type="Resource" id=20] +script = ExtResource( 7 ) +graph_position = Vector2( 1060, 340 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0.0823529, 0.0823529, 0.0823529, 1, 0.237288, 0.0823529, 0.0823529, 0.0823529, 1, 0.5, 0.196078, 0.266667, 0.290196, 1, 0.762712, 0.32549, 0.388235, 0.392157, 1, 1, 0.168627, 0.243137, 0.243137, 1 ) +image = SubResource( 18 ) +input = SubResource( 19 ) + +[sub_resource type="Resource" id=28] +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=22] +script = ExtResource( 4 ) +graph_position = Vector2( 1300, 340 ) +image = SubResource( 28 ) +postfix = "_albedo" + +[sub_resource type="Resource" id=24] +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( 1, 1, 1, 1 ) +input_property = SubResource( 9 ) + +[sub_resource type="Resource" id=25] +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( 1, 1, 1, 1 ) +input_property = SubResource( 16 ) + +[sub_resource type="Resource" id=26] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.98 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=27] +script = ExtResource( 3 ) +graph_position = Vector2( 820, 340 ) +image = SubResource( 23 ) +input1 = SubResource( 24 ) +input2 = SubResource( 25 ) +blend_type = 2 +opacity = SubResource( 26 ) + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 256, 256 ) +nodes = [ SubResource( 5 ), SubResource( 8 ), SubResource( 13 ), SubResource( 15 ), SubResource( 17 ), SubResource( 20 ), SubResource( 22 ), SubResource( 27 ) ] diff --git a/game/textures/world/stone/stone_dungeon_1_albedo.png b/game/textures/world/stone/stone_dungeon_1_albedo.png new file mode 100644 index 0000000..c25928a Binary files /dev/null and b/game/textures/world/stone/stone_dungeon_1_albedo.png differ diff --git a/game/textures/world/stone/stone_dungeon_1_albedo.png.import b/game/textures/world/stone/stone_dungeon_1_albedo.png.import new file mode 100644 index 0000000..0291dc8 --- /dev/null +++ b/game/textures/world/stone/stone_dungeon_1_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/stone_dungeon_1_albedo.png-f7da6adb808a7a62b93721a24a2d7f89.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/world/stone/stone_dungeon_1_albedo.png" +dest_files=[ "res://.import/stone_dungeon_1_albedo.png-f7da6adb808a7a62b93721a24a2d7f89.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +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