diff --git a/game/textures/world/bricks/test_brick.tres b/game/textures/world/bricks/test_brick.tres index 579ca6d1..29a464a2 100644 --- a/game/textures/world/bricks/test_brick.tres +++ b/game/textures/world/bricks/test_brick.tres @@ -1,95 +1,58 @@ -[gd_resource type="MMMaterial" load_steps=42 format=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] +[gd_resource type="MMMaterial" load_steps=34 format=2] [sub_resource type="MMNodeUniversalProperty" id=1] 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 ) +input_slot_type = 6 +slot_name = "Bevel" +value_step = 0.01 +value_range = Vector2( 0, 0.5 ) [sub_resource type="MMNodeUniversalProperty" id=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="MMNodeUniversalProperty" id=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="MMNodeUniversalProperty" id=4] -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="MMNodeUniversalProperty" id=5] -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="MMNodeUniversalProperty" id=6] -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="MMNodeUniversalProperty" id=7] -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="MMNodeUniversalProperty" id=8] -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="MMNodeUniversalProperty" id=9] -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_slot_type = 6 +slot_name = "Mortar" +value_step = 0.01 +value_range = Vector2( 0, 0.5 ) [sub_resource type="MMNodeUniversalProperty" id=10] 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 ) +input_slot_type = 6 +slot_name = "Roundness" +value_step = 0.01 +value_range = Vector2( 0, 0.5 ) -[sub_resource type="MMNode" id=11] -script = ExtResource( 3 ) -graph_position = Vector2( 0, 0 ) +[sub_resource type="MMNodeUniversalProperty" id=3] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMNodeUniversalProperty" id=4] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMNodeUniversalProperty" id=5] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMNodeUniversalProperty" id=6] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMNodeUniversalProperty" id=7] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMNodeUniversalProperty" id=8] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMNodeUniversalProperty" id=9] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMBricks" id=11] +input_properties = [ SubResource( 2 ), SubResource( 1 ), SubResource( 10 ) ] +output_properties = [ SubResource( 4 ), SubResource( 9 ), SubResource( 7 ), SubResource( 8 ), SubResource( 3 ), SubResource( 5 ), SubResource( 6 ) ] out_bricks_pattern = SubResource( 4 ) out_random_color = SubResource( 9 ) out_position_x = SubResource( 7 ) @@ -97,102 +60,74 @@ 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="MMNodeUniversalProperty" id=12] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=13] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 4 ) -[sub_resource type="GradientBase" id=14] -script = ExtResource( 8 ) +[sub_resource type="MMColorize" id=14] graph_position = Vector2( 240, 200 ) -interpolation_type = 1 +input_properties = [ SubResource( 13 ) ] +output_properties = [ SubResource( 12 ) ] 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="MMNodeUniversalProperty" id=15] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=22] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=16] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 22 ) [sub_resource type="MMNodeUniversalProperty" id=17] 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_slot_type = 6 +slot_name = ">>> Input2 " input_property = SubResource( 12 ) [sub_resource type="MMNodeUniversalProperty" id=18] 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 ) +input_slot_type = 6 +slot_name = "opacity" -[sub_resource type="MMNode" id=19] -script = ExtResource( 6 ) +[sub_resource type="MMBlend" id=19] graph_position = Vector2( 500, 20 ) +input_properties = [ SubResource( 16 ), SubResource( 17 ), SubResource( 18 ) ] +output_properties = [ SubResource( 15 ) ] image = SubResource( 15 ) input1 = SubResource( 16 ) input2 = SubResource( 17 ) -blend_type = 0 opacity = SubResource( 18 ) [sub_resource type="MMNodeUniversalProperty" id=20] 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 ) +output_slot_type = 0 -[sub_resource type="MMNode" id=21] -script = ExtResource( 7 ) +[sub_resource type="MMScratches" id=21] graph_position = Vector2( 260, -340 ) +output_properties = [ SubResource( 20 ) ] image = SubResource( 20 ) size = Vector2( 0.23, 0.3 ) layers = 2 @@ -202,76 +137,59 @@ randomness = 0.35 [sub_resource type="MMNodeUniversalProperty" id=23] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 20 ) -[sub_resource type="GradientBase" id=24] -script = ExtResource( 8 ) +[sub_resource type="MMColorize" id=24] graph_position = Vector2( 500, -300 ) -interpolation_type = 1 +input_properties = [ SubResource( 23 ) ] +output_properties = [ SubResource( 22 ) ] 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="MMNodeUniversalProperty" id=25] 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 ) +output_slot_type = 0 -[sub_resource type="MMNode" id=26] -script = ExtResource( 4 ) +[sub_resource type="MMFbmNoise" id=26] graph_position = Vector2( 760, -320 ) +output_properties = [ SubResource( 25 ) ] image = SubResource( 25 ) -type = 0 scale = Vector2( 20, 20 ) -folds = 0 iterations = 7 persistence = 0.9 [sub_resource type="MMNodeUniversalProperty" id=27] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=28] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 25 ) [sub_resource type="MMNodeUniversalProperty" id=29] 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_slot_type = 6 +slot_name = ">>> Input2 " input_property = SubResource( 15 ) [sub_resource type="MMNodeUniversalProperty" id=30] 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 ) +input_slot_type = 6 +slot_name = "opacity" -[sub_resource type="MMNode" id=31] -script = ExtResource( 6 ) +[sub_resource type="MMBlend" id=31] graph_position = Vector2( 960, 20 ) +input_properties = [ SubResource( 28 ), SubResource( 29 ), SubResource( 30 ) ] +output_properties = [ SubResource( 27 ) ] image = SubResource( 27 ) input1 = SubResource( 28 ) input2 = SubResource( 29 ) @@ -280,16 +198,12 @@ opacity = SubResource( 30 ) [sub_resource type="MMNodeUniversalProperty" id=34] 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 ) +input_slot_type = 6 +slot_name = "image" -[sub_resource type="MMNode" id=33] -script = ExtResource( 5 ) +[sub_resource type="MMOutputImage" id=33] graph_position = Vector2( 1200, 60 ) +input_properties = [ SubResource( 34 ) ] image = SubResource( 34 ) postfix = "_albedo" diff --git a/game/textures/world/dirt/dirt.tres b/game/textures/world/dirt/dirt.tres index 03cd7ea2..ad3745e4 100644 --- a/game/textures/world/dirt/dirt.tres +++ b/game/textures/world/dirt/dirt.tres @@ -1,185 +1,134 @@ -[gd_resource type="MMMaterial" load_steps=61 format=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] +[gd_resource type="MMMaterial" load_steps=51 format=2] [sub_resource type="MMNodeUniversalProperty" id=1] 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 ) +output_slot_type = 0 -[sub_resource type="MMNode" id=2] -script = ExtResource( 3 ) +[sub_resource type="MMNoise" id=2] graph_position = Vector2( -480, -80 ) +output_properties = [ SubResource( 1 ) ] image = SubResource( 1 ) grid_size = 512 density = 0.0 [sub_resource type="MMNodeUniversalProperty" id=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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=39] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 1 ) -[sub_resource type="GradientBase" id=4] -script = ExtResource( 4 ) +[sub_resource type="MMColorize" id=4] graph_position = Vector2( -260, -80 ) -interpolation_type = 1 +input_properties = [ SubResource( 39 ) ] +output_properties = [ SubResource( 3 ) ] 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="MMNodeUniversalProperty" id=5] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=6] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 3 ) -[sub_resource type="MMNode" id=7] -script = ExtResource( 5 ) +[sub_resource type="MMEmboss" id=7] graph_position = Vector2( -40, -80 ) +input_properties = [ SubResource( 6 ) ] +output_properties = [ SubResource( 5 ) ] image = SubResource( 5 ) input = SubResource( 6 ) angle = 47.9 amount = 7.3 -width = 1.0 +size = 256 [sub_resource type="MMNodeUniversalProperty" id=8] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=40] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 5 ) -[sub_resource type="GradientBase" id=9] -script = ExtResource( 4 ) +[sub_resource type="MMColorize" id=9] graph_position = Vector2( 180, -80 ) -interpolation_type = 1 +input_properties = [ SubResource( 40 ) ] +output_properties = [ SubResource( 8 ) ] 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="MMNodeUniversalProperty" id=10] 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 ) +output_slot_type = 0 -[sub_resource type="MMNode" id=11] -script = ExtResource( 6 ) +[sub_resource type="MMFbmNoise" id=11] graph_position = Vector2( -460, 340 ) +output_properties = [ SubResource( 10 ) ] image = SubResource( 10 ) -type = 0 scale = Vector2( 40, 40 ) -folds = 0 iterations = 4 persistence = 1.0 [sub_resource type="MMNodeUniversalProperty" id=12] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=41] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 10 ) -[sub_resource type="GradientBase" id=13] -script = ExtResource( 4 ) +[sub_resource type="MMColorize" id=13] graph_position = Vector2( -260, 360 ) -interpolation_type = 1 +input_properties = [ SubResource( 41 ) ] +output_properties = [ SubResource( 12 ) ] 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="MMNodeUniversalProperty" id=14] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=15] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 8 ) [sub_resource type="MMNodeUniversalProperty" id=16] 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_slot_type = 6 +slot_name = ">>> Input2 " input_property = SubResource( 12 ) [sub_resource type="MMNodeUniversalProperty" id=17] 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 ) +input_slot_type = 6 +slot_name = "opacity" -[sub_resource type="MMNode" id=18] -script = ExtResource( 8 ) +[sub_resource type="MMBlend" id=18] graph_position = Vector2( -20, 360 ) +input_properties = [ SubResource( 15 ), SubResource( 16 ), SubResource( 17 ) ] +output_properties = [ SubResource( 14 ) ] image = SubResource( 14 ) input1 = SubResource( 15 ) input2 = SubResource( 16 ) @@ -188,245 +137,184 @@ opacity = SubResource( 17 ) [sub_resource type="MMNodeUniversalProperty" id=19] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=20] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 14 ) [sub_resource type="MMNodeUniversalProperty" id=23] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=24] 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_slot_type = 6 +slot_name = ">>> Input2 " input_property = SubResource( 23 ) [sub_resource type="MMNodeUniversalProperty" id=25] 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 ) +input_slot_type = 6 +slot_name = "opacity" -[sub_resource type="MMNode" id=26] -script = ExtResource( 8 ) +[sub_resource type="MMBlend" id=26] graph_position = Vector2( 240, 520 ) +input_properties = [ SubResource( 20 ), SubResource( 24 ), SubResource( 25 ) ] +output_properties = [ SubResource( 19 ) ] image = SubResource( 19 ) input1 = SubResource( 20 ) input2 = SubResource( 24 ) -blend_type = 0 opacity = SubResource( 25 ) [sub_resource type="MMNodeUniversalProperty" id=27] 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 ) +output_slot_type = 0 -[sub_resource type="MMNode" id=28] -script = ExtResource( 6 ) +[sub_resource type="MMFbmNoise" id=28] graph_position = Vector2( 0, 1280 ) +output_properties = [ SubResource( 27 ) ] image = SubResource( 27 ) -type = 0 scale = Vector2( 15, 25 ) -folds = 0 iterations = 3 -persistence = 0.5 [sub_resource type="MMNodeUniversalProperty" id=29] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=30] 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_slot_type = 6 +slot_name = ">>> Input1 " [sub_resource type="MMNodeUniversalProperty" id=31] 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_slot_type = 6 +slot_name = ">>> Input2 " input_property = SubResource( 27 ) [sub_resource type="MMNodeUniversalProperty" id=32] 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 ) +input_slot_type = 6 +slot_name = "opacity" -[sub_resource type="MMNode" id=33] -script = ExtResource( 8 ) +[sub_resource type="MMBlend" id=33] graph_position = Vector2( 240, 1340 ) +input_properties = [ SubResource( 30 ), SubResource( 31 ), SubResource( 32 ) ] +output_properties = [ SubResource( 29 ) ] image = SubResource( 29 ) input1 = SubResource( 30 ) input2 = SubResource( 31 ) -blend_type = 0 opacity = SubResource( 32 ) [sub_resource type="MMNodeUniversalProperty" id=21] 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 ) +output_slot_type = 0 -[sub_resource type="MMNode" id=34] -script = ExtResource( 6 ) +[sub_resource type="MMFbmNoise" id=34] graph_position = Vector2( -460, 900 ) +output_properties = [ SubResource( 21 ) ] image = SubResource( 21 ) type = 1 scale = Vector2( 100, 100 ) -folds = 0 iterations = 10 persistence = 0.2 [sub_resource type="MMNodeUniversalProperty" id=22] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=42] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 21 ) -[sub_resource type="GradientBase" id=35] -script = ExtResource( 4 ) +[sub_resource type="MMColorize" id=35] graph_position = Vector2( -240, 940 ) -interpolation_type = 1 +input_properties = [ SubResource( 42 ) ] +output_properties = [ SubResource( 22 ) ] 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="MMNodeUniversalProperty" id=43] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 22 ) -[sub_resource type="GradientBase" id=36] -script = ExtResource( 4 ) +[sub_resource type="MMColorize" id=36] graph_position = Vector2( 0, 940 ) -interpolation_type = 1 +input_properties = [ SubResource( 43 ) ] +output_properties = [ SubResource( 23 ) ] 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="MMNodeUniversalProperty" id=53] 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_slot_type = 6 +slot_name = "image" -[sub_resource type="MMNode" id=38] -script = ExtResource( 7 ) +[sub_resource type="MMOutputImage" id=38] graph_position = Vector2( 980, 540 ) +input_properties = [ SubResource( 53 ) ] image = SubResource( 53 ) postfix = "_albedo" [sub_resource type="MMNodeUniversalProperty" id=45] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=49] 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 ) +output_slot_type = 0 [sub_resource type="MMNodeUniversalProperty" id=46] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 49 ) -[sub_resource type="MMNode" id=47] -script = ExtResource( 9 ) +[sub_resource type="MMMakeTileable" id=47] graph_position = Vector2( 760, 540 ) +input_properties = [ SubResource( 46 ) ] +output_properties = [ SubResource( 45 ) ] image = SubResource( 45 ) input = SubResource( 46 ) -width = 0.1 +size = 256 [sub_resource type="MMNodeUniversalProperty" id=50] 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_slot_type = 6 +slot_name = ">>> Input1 " input_property = SubResource( 19 ) [sub_resource type="MMNodeUniversalProperty" id=51] 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_slot_type = 6 +value_step = 0.01 +value_range = Vector2( 0, 1 ) -[sub_resource type="MMNode" id=52] -script = ExtResource( 10 ) +[sub_resource type="MMFillChannel" id=52] graph_position = Vector2( 520, 540 ) +input_properties = [ SubResource( 50 ), SubResource( 51 ) ] +output_properties = [ SubResource( 49 ) ] image = SubResource( 49 ) input = SubResource( 50 ) value = SubResource( 51 ) -channel = 3 [resource] image_size = Vector2( 256, 256 ) diff --git a/game/textures/world/grass/grass.tres b/game/textures/world/grass/grass.tres index 8b7c251f..e9ef725e 100644 --- a/game/textures/world/grass/grass.tres +++ b/game/textures/world/grass/grass.tres @@ -1,13 +1,5 @@ [gd_resource type="MMMaterial" load_steps=40 format=2] -[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/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="MMNodeUniversalProperty" id=1] default_type = 5 default_int = 0 @@ -40,8 +32,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=5] -script = ExtResource( 4 ) +[sub_resource type="MMVoronoi" id=5] graph_position = Vector2( -500, -20 ) out_nodes = SubResource( 3 ) out_borders = SubResource( 1 ) @@ -60,8 +51,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=7] -script = ExtResource( 6 ) +[sub_resource type="MMNoise" id=7] graph_position = Vector2( -260, 300 ) image = SubResource( 6 ) grid_size = 256 @@ -92,8 +82,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 14 ) -[sub_resource type="GradientBase" id=10] -script = ExtResource( 2 ) +[sub_resource type="MMColorize" id=10] 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 ) @@ -125,8 +114,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 19 ) -[sub_resource type="GradientBase" id=13] -script = ExtResource( 2 ) +[sub_resource type="MMColorize" id=13] 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 ) @@ -159,8 +147,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=18] -script = ExtResource( 7 ) +[sub_resource type="MMBlend" id=18] graph_position = Vector2( -20, 20 ) image = SubResource( 14 ) input1 = SubResource( 15 ) @@ -168,8 +155,7 @@ input2 = SubResource( 16 ) blend_type = 11 opacity = SubResource( 17 ) -[sub_resource type="MMNode" id=20] -script = ExtResource( 5 ) +[sub_resource type="MMFbmNoise" id=20] graph_position = Vector2( -20, 640 ) image = SubResource( 19 ) type = 0 @@ -212,8 +198,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=25] -script = ExtResource( 7 ) +[sub_resource type="MMBlend" id=25] graph_position = Vector2( 440, 280 ) image = SubResource( 21 ) input1 = SubResource( 22 ) @@ -238,8 +223,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 28 ) -[sub_resource type="MMNode" id=27] -script = ExtResource( 8 ) +[sub_resource type="MMOutputImage" id=27] graph_position = Vector2( 900, 340 ) image = SubResource( 26 ) postfix = "_albedo" @@ -253,8 +237,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 21 ) -[sub_resource type="MMNode" id=30] -script = ExtResource( 9 ) +[sub_resource type="MMMakeTileable" id=30] graph_position = Vector2( 680, 340 ) image = SubResource( 28 ) input = SubResource( 29 ) diff --git a/game/textures/world/grass/grass_mossy.tres b/game/textures/world/grass/grass_mossy.tres index c710d2d8..4623724d 100644 --- a/game/textures/world/grass/grass_mossy.tres +++ b/game/textures/world/grass/grass_mossy.tres @@ -1,13 +1,5 @@ [gd_resource type="MMMaterial" load_steps=40 format=2] -[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/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="MMNodeUniversalProperty" id=1] default_type = 5 default_int = 0 @@ -40,8 +32,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=5] -script = ExtResource( 4 ) +[sub_resource type="MMVoronoi" id=5] graph_position = Vector2( -500, -20 ) out_nodes = SubResource( 3 ) out_borders = SubResource( 1 ) @@ -60,8 +51,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=7] -script = ExtResource( 6 ) +[sub_resource type="MMNoise" id=7] graph_position = Vector2( -260, 300 ) image = SubResource( 6 ) grid_size = 256 @@ -92,8 +82,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 14 ) -[sub_resource type="GradientBase" id=10] -script = ExtResource( 2 ) +[sub_resource type="MMColorize" id=10] 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 ) @@ -125,8 +114,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 28 ) -[sub_resource type="GradientBase" id=13] -script = ExtResource( 2 ) +[sub_resource type="MMColorize" id=13] 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 ) @@ -159,8 +147,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=18] -script = ExtResource( 7 ) +[sub_resource type="MMBlend" id=18] graph_position = Vector2( -20, 20 ) image = SubResource( 14 ) input1 = SubResource( 15 ) @@ -176,8 +163,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=20] -script = ExtResource( 5 ) +[sub_resource type="MMFbmNoise" id=20] graph_position = Vector2( -220, 640 ) image = SubResource( 19 ) type = 0 @@ -220,8 +206,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=25] -script = ExtResource( 7 ) +[sub_resource type="MMBlend" id=25] graph_position = Vector2( 440, 280 ) image = SubResource( 21 ) input1 = SubResource( 22 ) @@ -237,8 +222,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=27] -script = ExtResource( 8 ) +[sub_resource type="MMOutputImage" id=27] graph_position = Vector2( 660, 340 ) image = SubResource( 31 ) postfix = "_albedo" @@ -252,8 +236,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 19 ) -[sub_resource type="MMNode" id=30] -script = ExtResource( 9 ) +[sub_resource type="MMMakeTileable" id=30] graph_position = Vector2( -20, 640 ) image = SubResource( 28 ) input = SubResource( 29 ) diff --git a/game/textures/world/liquid/water.tres b/game/textures/world/liquid/water.tres index 25df031d..8eec7557 100644 --- a/game/textures/world/liquid/water.tres +++ b/game/textures/world/liquid/water.tres @@ -1,10 +1,5 @@ [gd_resource type="MMMaterial" load_steps=17 format=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="MMNodeUniversalProperty" id=1] default_type = 5 default_int = 0 @@ -13,8 +8,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=2] -script = ExtResource( 3 ) +[sub_resource type="MMFbmNoise" id=2] graph_position = Vector2( 0, 0 ) image = SubResource( 1 ) type = 0 @@ -40,8 +34,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 1 ) -[sub_resource type="GradientBase" id=5] -script = ExtResource( 4 ) +[sub_resource type="MMColorize" id=5] 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 ) @@ -65,8 +58,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 8 ) -[sub_resource type="MMNode" id=7] -script = ExtResource( 5 ) +[sub_resource type="MMOutputImage" id=7] graph_position = Vector2( 740, 20 ) image = SubResource( 9 ) postfix = "_albedo" @@ -80,8 +72,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 3 ) -[sub_resource type="MMNode" id=11] -script = ExtResource( 6 ) +[sub_resource type="MMMakeTileable" id=11] graph_position = Vector2( 480, 0 ) image = SubResource( 8 ) input = SubResource( 10 ) diff --git a/game/textures/world/stone/stone_1.tres b/game/textures/world/stone/stone_1.tres index 1003090d..5210ecd1 100644 --- a/game/textures/world/stone/stone_1.tres +++ b/game/textures/world/stone/stone_1.tres @@ -1,11 +1,5 @@ [gd_resource type="MMMaterial" load_steps=28 format=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="MMNodeUniversalProperty" id=1] default_type = 5 default_int = 0 @@ -38,8 +32,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=5] -script = ExtResource( 6 ) +[sub_resource type="MMVoronoi" id=5] graph_position = Vector2( 120, 0 ) out_nodes = SubResource( 3 ) out_borders = SubResource( 1 ) @@ -58,8 +51,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=7] -script = ExtResource( 5 ) +[sub_resource type="MMFbmNoise" id=7] graph_position = Vector2( 360, 320 ) image = SubResource( 6 ) type = 0 @@ -85,8 +77,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 1 ) -[sub_resource type="GradientBase" id=10] -script = ExtResource( 7 ) +[sub_resource type="MMColorize" id=10] 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 ) @@ -127,8 +118,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=15] -script = ExtResource( 3 ) +[sub_resource type="MMBlend" id=15] graph_position = Vector2( 620, 100 ) image = SubResource( 11 ) input1 = SubResource( 12 ) @@ -153,8 +143,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 11 ) -[sub_resource type="GradientBase" id=18] -script = ExtResource( 7 ) +[sub_resource type="MMColorize" id=18] 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 ) @@ -170,8 +159,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 16 ) -[sub_resource type="MMNode" id=20] -script = ExtResource( 4 ) +[sub_resource type="MMOutputImage" id=20] graph_position = Vector2( 1120, 100 ) image = SubResource( 19 ) postfix = "_albedo" diff --git a/game/textures/world/stone/stone_dungeon_1.tres b/game/textures/world/stone/stone_dungeon_1.tres index 980b646d..29d78cac 100644 --- a/game/textures/world/stone/stone_dungeon_1.tres +++ b/game/textures/world/stone/stone_dungeon_1.tres @@ -1,11 +1,5 @@ [gd_resource type="MMMaterial" load_steps=35 format=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="MMNodeUniversalProperty" id=1] default_type = 5 default_int = 0 @@ -38,8 +32,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=5] -script = ExtResource( 6 ) +[sub_resource type="MMVoronoi" id=5] graph_position = Vector2( 0, 0 ) out_nodes = SubResource( 3 ) out_borders = SubResource( 1 ) @@ -67,8 +60,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 1 ) -[sub_resource type="GradientBase" id=8] -script = ExtResource( 7 ) +[sub_resource type="MMColorize" id=8] 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 ) @@ -117,8 +109,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=13] -script = ExtResource( 3 ) +[sub_resource type="MMBlend" id=13] graph_position = Vector2( 540, 120 ) image = SubResource( 9 ) input1 = SubResource( 10 ) @@ -126,8 +117,7 @@ input2 = SubResource( 11 ) blend_type = 6 opacity = SubResource( 12 ) -[sub_resource type="MMNode" id=15] -script = ExtResource( 5 ) +[sub_resource type="MMFbmNoise" id=15] graph_position = Vector2( 280, 340 ) image = SubResource( 14 ) type = 0 @@ -144,8 +134,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=17] -script = ExtResource( 5 ) +[sub_resource type="MMFbmNoise" id=17] graph_position = Vector2( 560, 520 ) image = SubResource( 16 ) type = 0 @@ -179,8 +168,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 23 ) -[sub_resource type="GradientBase" id=20] -script = ExtResource( 7 ) +[sub_resource type="MMColorize" id=20] 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 ) @@ -196,8 +184,7 @@ default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) input_property = SubResource( 18 ) -[sub_resource type="MMNode" id=22] -script = ExtResource( 4 ) +[sub_resource type="MMOutputImage" id=22] graph_position = Vector2( 1300, 340 ) image = SubResource( 21 ) postfix = "_albedo" @@ -228,8 +215,7 @@ default_vector2 = Vector2( 0, 0 ) default_vector3 = Vector3( 0, 0, 0 ) default_color = Color( 0, 0, 0, 1 ) -[sub_resource type="MMNode" id=27] -script = ExtResource( 3 ) +[sub_resource type="MMBlend" id=27] graph_position = Vector2( 820, 340 ) image = SubResource( 23 ) input1 = SubResource( 24 )