[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 ) ]
