material-maker/test.ptex
2019-08-17 17:35:48 +02:00

158 lines
3.0 KiB
Plaintext

{
"connections": [
{
"from": "bricks_0",
"from_port": 0,
"to": "custom_0",
"to_port": 0
},
{
"from": "custom_0",
"from_port": 0,
"to": "adjust_hsv_0",
"to_port": 0
},
{
"from": "adjust_hsv_0",
"from_port": 0,
"to": "Material",
"to_port": 0
}
],
"nodes": [
{
"name": "Material",
"node_position": {
"x": 143,
"y": -210
},
"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
},
"type": "material"
},
{
"shader_model": {
"global": "",
"inputs": [
{
"default": "0.0",
"label": "Input",
"name": "input",
"type": "f"
}
],
"instance": "",
"name": "Colorize",
"outputs": [
{
"rgba": "$gradient($input($uv))"
}
],
"parameters": [
{
"default": {
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 1,
"b": 1,
"g": 1,
"pos": 1,
"r": 1
}
],
"type": "Gradient"
},
"label": "Gradient",
"name": "gradient",
"type": "gradient"
}
]
},
"name": "custom_0",
"node_position": {
"x": -433,
"y": -109.416656
},
"parameters": {
"gradient": {
"points": [
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0,
"r": 0
},
{
"a": 1,
"b": 0,
"g": 0,
"pos": 0.517045,
"r": 1
},
{
"a": 0,
"b": 1,
"g": 1,
"pos": 1,
"r": 1
}
],
"type": "Gradient"
}
},
"type": "custom"
},
{
"name": "adjust_hsv_0",
"node_position": {
"x": -135.541687,
"y": -150.597229
},
"parameters": {
"hue": 0,
"saturation": 1,
"value": 1
},
"type": "adjust_hsv"
},
{
"name": "bricks_0",
"node_position": {
"x": -599,
"y": -332
},
"parameters": {
"bevel": 0.209961,
"columns": 3,
"mortar": 0.116211,
"pattern": 0,
"repeat": 1,
"row_offset": 0.5,
"rows": 6
},
"type": "bricks"
}
]
}