material-maker/material_maker/examples/metal_pattern.ptex

566 lines
8.0 KiB
Plaintext

{
"connections": [
{
"from": "pattern_0",
"from_port": 0,
"to": "colorize_0",
"to_port": 0
},
{
"from": "colorize_0",
"from_port": 0,
"to": "blend_0",
"to_port": 0
},
{
"from": "transform_0",
"from_port": 0,
"to": "blend_0",
"to_port": 1
},
{
"from": "colorize_0",
"from_port": 0,
"to": "transform_0",
"to_port": 0
},
{
"from": "blend_0",
"from_port": 0,
"to": "transform_1",
"to_port": 0
},
{
"from": "transform_1",
"from_port": 0,
"to": "blend_1",
"to_port": 1
},
{
"from": "blend_0",
"from_port": 0,
"to": "blend_1",
"to_port": 0
},
{
"from": "blend_1",
"from_port": 0,
"to": "colorize_1",
"to_port": 0
},
{
"from": "colorize_1",
"from_port": 0,
"to": "normal_map_0",
"to_port": 0
},
{
"from": "normal_map_0",
"from_port": 0,
"to": "Material",
"to_port": 4
},
{
"from": "perlin_0",
"from_port": 0,
"to": "colorize_2",
"to_port": 0
},
{
"from": "colorize_2",
"from_port": 0,
"to": "blend_2",
"to_port": 0
},
{
"from": "blend_2",
"from_port": 0,
"to": "Material",
"to_port": 0
},
{
"from": "colorize_4",
"from_port": 0,
"to": "blend_2",
"to_port": 2
},
{
"from": "colorize_4",
"from_port": 0,
"to": "colorize_5",
"to_port": 0
},
{
"from": "colorize_5",
"from_port": 0,
"to": "Material",
"to_port": 1
},
{
"from": "colorize_4",
"from_port": 0,
"to": "colorize_6",
"to_port": 0
},
{
"from": "colorize_6",
"from_port": 0,
"to": "Material",
"to_port": 2
},
{
"from": "perlin_1",
"from_port": 0,
"to": "blend_3",
"to_port": 1
},
{
"from": "colorize_7",
"from_port": 0,
"to": "blend_3",
"to_port": 0
},
{
"from": "blend_1",
"from_port": 0,
"to": "colorize_7",
"to_port": 0
},
{
"from": "blend_3",
"from_port": 0,
"to": "colorize_4",
"to_port": 0
},
{
"from": "uniform_0",
"from_port": 0,
"to": "blend_2",
"to_port": 1
},
{
"from": "colorize_5",
"from_port": 0,
"to": "combine_0",
"to_port": 0
},
{
"from": "colorize_6",
"from_port": 0,
"to": "combine_0",
"to_port": 1
}
],
"label": "Graph",
"name": "312",
"node_position": {
"x": 0,
"y": 0
},
"nodes": [
{
"name": "perlin_0",
"node_position": {
"x": 1,
"y": -330
},
"parameters": {
"iterations": 7,
"persistence": 0.85,
"scale_x": 4,
"scale_y": 4
},
"type": "perlin"
},
{
"name": "colorize_2",
"node_position": {
"x": 201,
"y": -298
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 0,
"g": 0.152344,
"pos": 0,
"r": 0.270833
},
{
"a": 1,
"b": 0,
"g": 0.191569,
"pos": 0.945455,
"r": 0.557292
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "Material",
"node_position": {
"x": 755,
"y": -137
},
"parameters": {
"albedo_color": {
"a": 1,
"b": 1,
"g": 1,
"r": 1,
"type": "Color"
},
"ao_light_affect": 1,
"depth_scale": 1,
"emission_energy": 1,
"metallic": 1,
"normal_scale": 1,
"resolution": 1,
"roughness": 1,
"size": 11
},
"type": "material"
},
{
"name": "blend_2",
"node_position": {
"x": 407.094238,
"y": -265.083313
},
"parameters": {
"amount": 1,
"blend_type": 0
},
"type": "blend"
},
{
"name": "colorize_4",
"node_position": {
"x": 258,
"y": -136
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0.445455,
"r": 0
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 0.545455,
"r": 1
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "uniform_0",
"node_position": {
"x": 233,
"y": -216
},
"parameters": {
"color": {
"a": 1,
"b": 1,
"g": 1,
"r": 1,
"type": "Color"
}
},
"type": "uniform"
},
{
"name": "colorize_7",
"node_position": {
"x": -109.265503,
"y": -175
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 0.018182,
"r": 1
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "perlin_1",
"node_position": {
"x": -161,
"y": -86
},
"parameters": {
"iterations": 7,
"persistence": 0.75,
"scale_x": 4,
"scale_y": 4
},
"type": "perlin"
},
{
"name": "colorize_6",
"node_position": {
"x": 444,
"y": -66
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 0.640625,
"g": 0.640625,
"pos": 0,
"r": 0.640625
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 1,
"r": 1
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "colorize_1",
"node_position": {
"x": 85,
"y": 72
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 1,
"r": 1
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "colorize_5",
"node_position": {
"x": 446,
"y": -150
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 1,
"g": 1,
"pos": 0.609091,
"r": 1
},
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0.645455,
"r": 0
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "combine_0",
"node_position": {
"x": 677,
"y": -264
},
"parameters": {
"color": {
"a": 1,
"b": 1,
"g": 1,
"r": 1,
"type": "Color"
},
"name": 0
},
"type": "combine"
},
{
"name": "normal_map_0",
"node_position": {
"x": 294,
"y": 76
},
"parameters": {
"amount": 0.6,
"param0": 11,
"param1": 0.99,
"size": 2
},
"type": "normal_map"
},
{
"name": "blend_3",
"node_position": {
"x": 72.734497,
"y": -130
},
"parameters": {
"amount": 0.2,
"blend_type": 2
},
"type": "blend"
},
{
"name": "transform_1",
"node_position": {
"x": -647,
"y": 285
},
"parameters": {
"repeat": true,
"rotate": 90,
"scale_x": 1,
"scale_y": 1,
"translate_x": 0.06,
"translate_y": 0
},
"type": "transform"
},
{
"name": "blend_0",
"node_position": {
"x": -633,
"y": 181
},
"parameters": {
"amount": 1,
"blend_type": 2
},
"type": "blend"
},
{
"name": "blend_1",
"node_position": {
"x": -632,
"y": 77
},
"parameters": {
"amount": 1,
"blend_type": 2
},
"type": "blend"
},
{
"name": "colorize_0",
"node_position": {
"x": -828,
"y": 218
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 0.045455,
"r": 1
}
],
"type": "Gradient"
}
},
"type": "colorize"
},
{
"name": "transform_0",
"node_position": {
"x": -844,
"y": 279
},
"parameters": {
"repeat": true,
"rotate": 0,
"scale_x": 1,
"scale_y": 1,
"translate_x": 0.06,
"translate_y": 0.06
},
"type": "transform"
},
{
"name": "pattern_0",
"node_position": {
"x": -859,
"y": 120
},
"parameters": {
"mix": 5,
"x_scale": 8,
"x_wave": 0,
"y_scale": 8,
"y_wave": 0
},
"type": "pattern"
}
],
"parameters": {
},
"type": "graph"
}