mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
2131 lines
36 KiB
JSON
2131 lines
36 KiB
JSON
{
|
|
"lib": [
|
|
{
|
|
"collapsed": false,
|
|
"tree_item": "Simple"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_uniform",
|
|
"name": "uniform",
|
|
"parameters": {
|
|
"color": {
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 0.415686,
|
|
"r": 0,
|
|
"type": "Color"
|
|
}
|
|
},
|
|
"tree_item": "Simple/Uniform",
|
|
"type": "uniform"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_uniform_greyscale",
|
|
"name": "uniform_greyscale",
|
|
"parameters": {
|
|
"color": 0.5
|
|
},
|
|
"tree_item": "Simple/Uniform/Greyscale",
|
|
"type": "uniform_greyscale"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_shape",
|
|
"name": "shape",
|
|
"parameters": {
|
|
"edge": 0.051546,
|
|
"radius": 0.845361,
|
|
"shape": 1,
|
|
"sides": 6
|
|
},
|
|
"tree_item": "Simple/Shape",
|
|
"type": "shape"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_shape_star",
|
|
"name": "shape",
|
|
"parameters": {
|
|
"edge": 0.2,
|
|
"radius": 0.34375,
|
|
"shape": 2,
|
|
"sides": 5
|
|
},
|
|
"tree_item": "Simple/Shape/Star",
|
|
"type": "shape"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_shape_curved_star",
|
|
"name": "shape",
|
|
"parameters": {
|
|
"edge": 0.628866,
|
|
"radius": 0.546392,
|
|
"shape": 3,
|
|
"sides": 6
|
|
},
|
|
"tree_item": "Simple/Shape/Curved Star",
|
|
"type": "shape"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_shape_rays",
|
|
"name": "shape",
|
|
"parameters": {
|
|
"edge": 0.628866,
|
|
"radius": 0.546392,
|
|
"shape": 4,
|
|
"sides": 9
|
|
},
|
|
"tree_item": "Simple/Shape/Rays",
|
|
"type": "shape"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_shape_circle",
|
|
"name": "shape",
|
|
"parameters": {
|
|
"edge": 0.2,
|
|
"radius": 0.906667,
|
|
"shape": 0,
|
|
"sides": 2
|
|
},
|
|
"tree_item": "Simple/Shape/Circle",
|
|
"type": "shape"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_image",
|
|
"name": "image",
|
|
"parameters": {
|
|
"file_path": "res://addons/material_maker/nodes/image/godot_logo.png",
|
|
"image": "D:/Dev/Godot/godot-procedural-textures/addons/material_maker/icons/icon.png"
|
|
},
|
|
"tree_item": "Simple/Image",
|
|
"type": "image"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"connections": [
|
|
{
|
|
"from": "pattern",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "transform",
|
|
"from_port": 0,
|
|
"to": "colorize",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "colorize",
|
|
"from_port": 0,
|
|
"to": "gen_outputs",
|
|
"to_port": 0
|
|
}
|
|
],
|
|
"icon": "simple_gradient",
|
|
"label": "Gradient",
|
|
"name": "graph",
|
|
"nodes": [
|
|
{
|
|
"name": "pattern",
|
|
"node_position": {
|
|
"x": -389.625,
|
|
"y": -359.458374
|
|
},
|
|
"parameters": {
|
|
"mix": 0,
|
|
"x_scale": 1,
|
|
"x_wave": 3,
|
|
"y_scale": 1,
|
|
"y_wave": 4
|
|
},
|
|
"type": "pattern"
|
|
},
|
|
{
|
|
"name": "transform",
|
|
"node_position": {
|
|
"x": -371.125,
|
|
"y": -262.458374
|
|
},
|
|
"parameters": {
|
|
"repeat": false,
|
|
"rotate": 0,
|
|
"scale_x": 1,
|
|
"scale_y": 1,
|
|
"translate_x": 0,
|
|
"translate_y": 0
|
|
},
|
|
"type": "transform"
|
|
},
|
|
{
|
|
"name": "colorize",
|
|
"node_position": {
|
|
"x": -352.125,
|
|
"y": -69.458374
|
|
},
|
|
"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": "gen_parameters",
|
|
"node_position": {
|
|
"x": -406.125,
|
|
"y": -498.858337
|
|
},
|
|
"parameters": {
|
|
"param0": 1,
|
|
"param1": 0,
|
|
"param2": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"type": "remote",
|
|
"widgets": [
|
|
{
|
|
"label": "Repeat",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "pattern",
|
|
"widget": "x_scale"
|
|
}
|
|
],
|
|
"name": "param0",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Rotate",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "transform",
|
|
"widget": "rotate"
|
|
}
|
|
],
|
|
"name": "param1",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Gradient",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "colorize",
|
|
"widget": "gradient"
|
|
}
|
|
],
|
|
"name": "param2",
|
|
"type": "linked_control"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gen_inputs",
|
|
"node_position": {
|
|
"x": -706.125,
|
|
"y": -297.55835
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_outputs",
|
|
"node_position": {
|
|
"x": -52.125,
|
|
"y": -297.55835
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
{
|
|
"name": "port0",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"type": "ios"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"param0": 1,
|
|
"param1": 0,
|
|
"param2": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"tree_item": "Simple/Gradient",
|
|
"type": "graph"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"connections": [
|
|
{
|
|
"from": "colorize",
|
|
"from_port": 0,
|
|
"to": "gen_outputs",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "pattern",
|
|
"from_port": 0,
|
|
"to": "circle_map",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "circle_map",
|
|
"from_port": 0,
|
|
"to": "colorize",
|
|
"to_port": 0
|
|
}
|
|
],
|
|
"icon": "simple_gradient_radial",
|
|
"label": "Radial Gradient",
|
|
"name": "graph",
|
|
"nodes": [
|
|
{
|
|
"name": "pattern",
|
|
"node_position": {
|
|
"x": -251.5,
|
|
"y": -71
|
|
},
|
|
"parameters": {
|
|
"mix": 0,
|
|
"x_scale": 1,
|
|
"x_wave": 4,
|
|
"y_scale": 1,
|
|
"y_wave": 3
|
|
},
|
|
"type": "pattern"
|
|
},
|
|
{
|
|
"name": "colorize",
|
|
"node_position": {
|
|
"x": -208.5,
|
|
"y": 66
|
|
},
|
|
"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": "gen_parameters",
|
|
"node_position": {
|
|
"x": -264.18396,
|
|
"y": -183.44751
|
|
},
|
|
"parameters": {
|
|
"param0": 1,
|
|
"param1": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"type": "remote",
|
|
"widgets": [
|
|
{
|
|
"label": "Repeat",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "pattern",
|
|
"widget": "y_scale"
|
|
}
|
|
],
|
|
"name": "param0",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Gradient",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "colorize",
|
|
"widget": "gradient"
|
|
}
|
|
],
|
|
"name": "param1",
|
|
"type": "linked_control"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "circle_map",
|
|
"node_position": {
|
|
"x": -171.776794,
|
|
"y": 23.850616
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"type": "circle_map"
|
|
},
|
|
{
|
|
"name": "gen_inputs",
|
|
"node_position": {
|
|
"x": -564.18396,
|
|
"y": -41.149223
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_outputs",
|
|
"node_position": {
|
|
"x": 128.223206,
|
|
"y": -41.149223
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
{
|
|
"name": "port0",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"type": "ios"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"param0": 1,
|
|
"param1": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"tree_item": "Simple/Gradient/Radial",
|
|
"type": "graph"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"connections": [
|
|
{
|
|
"from": "circle_map",
|
|
"from_port": 0,
|
|
"to": "colorize",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "pattern",
|
|
"from_port": 0,
|
|
"to": "circle_map",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "colorize",
|
|
"from_port": 0,
|
|
"to": "gen_outputs",
|
|
"to_port": 0
|
|
}
|
|
],
|
|
"icon": "simple_gradient_circular",
|
|
"label": "Circular Gradient",
|
|
"name": "graph",
|
|
"nodes": [
|
|
{
|
|
"name": "pattern",
|
|
"node_position": {
|
|
"x": -280.5,
|
|
"y": -180
|
|
},
|
|
"parameters": {
|
|
"mix": 0,
|
|
"x_scale": 1,
|
|
"x_wave": 3,
|
|
"y_scale": 1,
|
|
"y_wave": 4
|
|
},
|
|
"type": "pattern"
|
|
},
|
|
{
|
|
"name": "colorize",
|
|
"node_position": {
|
|
"x": -256.5,
|
|
"y": -17
|
|
},
|
|
"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": "circle_map",
|
|
"node_position": {
|
|
"x": -229.5,
|
|
"y": -84.5
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"shader_model": {
|
|
"code": "",
|
|
"global": "",
|
|
"inputs": [
|
|
{
|
|
"default": "vec4($uv, 0.0, 1.0)",
|
|
"label": "",
|
|
"name": "in",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"instance": "",
|
|
"name": "CircleMap",
|
|
"outputs": [
|
|
{
|
|
"rgba": "$in(vec2(fract(atan($uv.y-0.5, $uv.x-0.5)*0.15915494309), 2.0*length($uv-vec2(0.5))))",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"parameters": [
|
|
|
|
]
|
|
},
|
|
"type": "shader"
|
|
},
|
|
{
|
|
"name": "gen_parameters",
|
|
"node_position": {
|
|
"x": -297.5,
|
|
"y": -290
|
|
},
|
|
"parameters": {
|
|
"param0": 1,
|
|
"param1": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"type": "remote",
|
|
"widgets": [
|
|
{
|
|
"label": "Repeat",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "pattern",
|
|
"widget": "x_scale"
|
|
}
|
|
],
|
|
"name": "param0",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Gradient",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "colorize",
|
|
"widget": "gradient"
|
|
}
|
|
],
|
|
"name": "param1",
|
|
"type": "linked_control"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gen_inputs",
|
|
"node_position": {
|
|
"x": -480.5,
|
|
"y": -134.875
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_outputs",
|
|
"node_position": {
|
|
"x": 60.5,
|
|
"y": -147.875
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
{
|
|
"name": "port0",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"type": "ios"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"param0": 1,
|
|
"param1": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"tree_item": "Simple/Gradient/Circular",
|
|
"type": "graph"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_shapes_sdcircle",
|
|
"name": "sdcircle",
|
|
"parameters": {
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"r": 0.25
|
|
},
|
|
"tree_item": "Simple/SDF/Shapes/sdCircle",
|
|
"type": "sdcircle"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_shapes_sdbox",
|
|
"name": "sdbox",
|
|
"parameters": {
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.2,
|
|
"r": 0.3,
|
|
"w": 0.3
|
|
},
|
|
"tree_item": "Simple/SDF/Shapes/sdBox",
|
|
"type": "sdbox"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_shapes_sdline",
|
|
"name": "sdline",
|
|
"parameters": {
|
|
"ax": 0.2,
|
|
"ay": 0.2,
|
|
"bx": 0.8,
|
|
"by": 0.8,
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.2,
|
|
"r": 0.3,
|
|
"w": 0.3
|
|
},
|
|
"tree_item": "Simple/SDF/Shapes/sdLine",
|
|
"type": "sdline"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_shapes_sdrhombus",
|
|
"name": "sdrhombus",
|
|
"parameters": {
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.2,
|
|
"r": 0.3,
|
|
"w": 0.3
|
|
},
|
|
"tree_item": "Simple/SDF/Shapes/sdRhombus",
|
|
"type": "sdrhombus"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_operators_sdboolean",
|
|
"name": "sdboolean",
|
|
"parameters": {
|
|
"bevel": 0,
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.08,
|
|
"op": 0,
|
|
"r": 0.3,
|
|
"w": 0.28
|
|
},
|
|
"tree_item": "Simple/SDF/Operators/sdBoolean",
|
|
"type": "sdboolean"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_operators_sdsmoothboolean",
|
|
"name": "sdsmoothboolean",
|
|
"parameters": {
|
|
"bevel": 0,
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.08,
|
|
"k": 0.15,
|
|
"op": 0,
|
|
"r": 0.3,
|
|
"w": 0.28
|
|
},
|
|
"shader_model": {
|
|
"code": "",
|
|
"global": "float sdSmoothUnion( float d1, float d2, float k ) {\n float h = clamp( 0.5 + 0.5*(d2-d1)/k, 0.0, 1.0 );\n return mix( d2, d1, h ) - k*h*(1.0-h); }\n\nfloat sdSmoothSubtraction( float d1, float d2, float k ) {\n float h = clamp( 0.5 - 0.5*(d2+d1)/k, 0.0, 1.0 );\n return mix( d2, -d1, h ) + k*h*(1.0-h); }\n\nfloat sdSmoothIntersection( float d1, float d2, float k ) {\n float h = clamp( 0.5 - 0.5*(d2-d1)/k, 0.0, 1.0 );\n return mix( d2, d1, h ) + k*h*(1.0-h); }\n",
|
|
"inputs": [
|
|
{
|
|
"default": "0.0",
|
|
"label": "",
|
|
"name": "in1",
|
|
"type": "f"
|
|
},
|
|
{
|
|
"default": "0.0",
|
|
"label": "",
|
|
"name": "in2",
|
|
"type": "f"
|
|
}
|
|
],
|
|
"instance": "",
|
|
"name": "sdSmoothBoolean",
|
|
"outputs": [
|
|
{
|
|
"f": "sdSmooth$op($in1($uv), $in2($uv), $k)",
|
|
"type": "f"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": 0,
|
|
"label": "",
|
|
"name": "op",
|
|
"type": "enum",
|
|
"values": [
|
|
{
|
|
"name": "Union",
|
|
"value": "Union"
|
|
},
|
|
{
|
|
"name": "Subtraction",
|
|
"value": "Subtraction"
|
|
},
|
|
{
|
|
"name": "Intersection",
|
|
"value": "Intersection"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"default": 0,
|
|
"label": "",
|
|
"max": 1,
|
|
"min": 0,
|
|
"name": "k",
|
|
"step": 0.01,
|
|
"type": "float"
|
|
}
|
|
]
|
|
},
|
|
"tree_item": "Simple/SDF/Operators/sdSmoothBoolean",
|
|
"type": "shader"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_operators_sdroundedshape",
|
|
"name": "sdroundedshape",
|
|
"parameters": {
|
|
"bevel": 0,
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.08,
|
|
"k": 0.15,
|
|
"op": 0,
|
|
"r": 0.1,
|
|
"w": 0.28
|
|
},
|
|
"tree_item": "Simple/SDF/Operators/sdRoundedShape",
|
|
"type": "sdroundedshape"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_operators_sdannularshape",
|
|
"name": "sdannularshape",
|
|
"parameters": {
|
|
"bevel": 0,
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.08,
|
|
"k": 0.15,
|
|
"op": 0,
|
|
"r": 0.05,
|
|
"w": 0.28
|
|
},
|
|
"tree_item": "Simple/SDF/Operators/sdAnnularShape",
|
|
"type": "sdannularshape"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "simple_sdf_operators_sdshow",
|
|
"name": "sdshow",
|
|
"parameters": {
|
|
"bevel": 0.1,
|
|
"cx": 0,
|
|
"cy": 0,
|
|
"h": 0.08,
|
|
"r": 0.3,
|
|
"w": 0.28
|
|
},
|
|
"shader_model": {
|
|
"code": "",
|
|
"global": "",
|
|
"inputs": [
|
|
{
|
|
"default": "0.0",
|
|
"label": "",
|
|
"name": "in",
|
|
"type": "f"
|
|
}
|
|
],
|
|
"instance": "",
|
|
"name": "sdShow",
|
|
"outputs": [
|
|
{
|
|
"f": "clamp(-$in($uv)/max($bevel, 0.00001), 0.0, 1.0)",
|
|
"type": "f"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": 0,
|
|
"label": "Bevel",
|
|
"max": 1,
|
|
"min": 0,
|
|
"name": "bevel",
|
|
"step": 0.01,
|
|
"type": "float"
|
|
}
|
|
]
|
|
},
|
|
"tree_item": "Simple/SDF/Operators/sdShow",
|
|
"type": "shader"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"tree_item": "Pattern"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_generic",
|
|
"parameters": {
|
|
"mix": 0,
|
|
"x_scale": 4,
|
|
"x_wave": 0,
|
|
"y_scale": 4,
|
|
"y_wave": 0
|
|
},
|
|
"tree_item": "Pattern/Generic",
|
|
"type": "pattern"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_generic_checkerboard",
|
|
"name": "pattern",
|
|
"parameters": {
|
|
"mix": 4,
|
|
"x_scale": 4,
|
|
"x_wave": 2,
|
|
"y_scale": 4,
|
|
"y_wave": 2
|
|
},
|
|
"tree_item": "Pattern/Generic/Checkerboard",
|
|
"type": "pattern"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_bricks",
|
|
"parameters": {
|
|
"bevel": 0.1,
|
|
"columns": 3,
|
|
"mortar": 0.1,
|
|
"row_offset": 0.5,
|
|
"rows": 6
|
|
},
|
|
"tree_item": "Pattern/Bricks",
|
|
"type": "bricks"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_bricks_tiles",
|
|
"parameters": {
|
|
"bevel": 0.05,
|
|
"columns": 4,
|
|
"mortar": 0.05,
|
|
"row_offset": 0,
|
|
"rows": 4
|
|
},
|
|
"tree_item": "Pattern/Bricks/Tiles",
|
|
"type": "bricks"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_bricks_basketweave",
|
|
"parameters": {
|
|
"bevel": 0.05,
|
|
"columns": 2,
|
|
"mortar": 0.05,
|
|
"pattern": 3,
|
|
"repeat": 2,
|
|
"row_offset": 0,
|
|
"rows": 2
|
|
},
|
|
"tree_item": "Pattern/Bricks/BasketWeave",
|
|
"type": "bricks"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_bricks_herringbone",
|
|
"parameters": {
|
|
"bevel": 0.05,
|
|
"columns": 2,
|
|
"mortar": 0.05,
|
|
"pattern": 2,
|
|
"repeat": 2,
|
|
"row_offset": 0,
|
|
"rows": 2
|
|
},
|
|
"tree_item": "Pattern/Bricks/HerringBone",
|
|
"type": "bricks"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_bricks_spanishbond",
|
|
"parameters": {
|
|
"bevel": 0.05,
|
|
"columns": 2,
|
|
"mortar": 0.05,
|
|
"pattern": 4,
|
|
"repeat": 2,
|
|
"row_offset": 0,
|
|
"rows": 2
|
|
},
|
|
"tree_item": "Pattern/Bricks/SpanishBond",
|
|
"type": "bricks"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_weave",
|
|
"name": "weave",
|
|
"parameters": {
|
|
"columns": 4,
|
|
"rows": 4
|
|
},
|
|
"tree_item": "Pattern/Weave",
|
|
"type": "weave"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_truchet",
|
|
"name": "truchet",
|
|
"parameters": {
|
|
"Size": 4,
|
|
"shape": 0,
|
|
"size": 4,
|
|
"type": 1
|
|
},
|
|
"tree_item": "Pattern/Truchet",
|
|
"type": "truchet"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_runes",
|
|
"name": "runes",
|
|
"parameters": {
|
|
"columns": 4,
|
|
"rows": 4
|
|
},
|
|
"tree_item": "Pattern/Runes",
|
|
"type": "runes"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"connections": [
|
|
{
|
|
"from": "pattern",
|
|
"from_port": 0,
|
|
"to": "blend",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "transform",
|
|
"from_port": 0,
|
|
"to": "blend",
|
|
"to_port": 1
|
|
},
|
|
{
|
|
"from": "pattern_2",
|
|
"from_port": 0,
|
|
"to": "colorize",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "colorize",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "bricks",
|
|
"from_port": 1,
|
|
"to": "transform",
|
|
"to_port": 1
|
|
},
|
|
{
|
|
"from": "blend",
|
|
"from_port": 0,
|
|
"to": "gen_outputs",
|
|
"to_port": 0
|
|
}
|
|
],
|
|
"icon": "pattern_fibers",
|
|
"label": "Fibers",
|
|
"name": "graph",
|
|
"nodes": [
|
|
{
|
|
"name": "transform",
|
|
"node_position": {
|
|
"x": -422.795074,
|
|
"y": 104.5
|
|
},
|
|
"parameters": {
|
|
"repeat": true,
|
|
"rotate": 45,
|
|
"scale_x": 0.5,
|
|
"scale_y": 1,
|
|
"translate_x": 0.975,
|
|
"translate_y": 0
|
|
},
|
|
"type": "transform"
|
|
},
|
|
{
|
|
"name": "colorize",
|
|
"node_position": {
|
|
"x": -396.795074,
|
|
"y": 44.5
|
|
},
|
|
"parameters": {
|
|
"gradient": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0.4375,
|
|
"g": 0.4375,
|
|
"pos": 0,
|
|
"r": 0.4375
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"type": "colorize"
|
|
},
|
|
{
|
|
"name": "bricks",
|
|
"node_position": {
|
|
"x": -674.752563,
|
|
"y": 17.5
|
|
},
|
|
"parameters": {
|
|
"bevel": 0.1,
|
|
"columns": 4,
|
|
"mortar": 0.1,
|
|
"pattern": 0,
|
|
"repeat": 1,
|
|
"row_offset": 0.5,
|
|
"rows": 1
|
|
},
|
|
"type": "bricks"
|
|
},
|
|
{
|
|
"name": "pattern_2",
|
|
"node_position": {
|
|
"x": -435.795074,
|
|
"y": -53.5
|
|
},
|
|
"parameters": {
|
|
"mix": 0,
|
|
"x_scale": 4,
|
|
"x_wave": 0,
|
|
"y_scale": 4,
|
|
"y_wave": 4
|
|
},
|
|
"type": "pattern"
|
|
},
|
|
{
|
|
"name": "blend",
|
|
"node_position": {
|
|
"x": -142.795074,
|
|
"y": 11.5
|
|
},
|
|
"parameters": {
|
|
"amount": 1,
|
|
"blend_type": 2
|
|
},
|
|
"type": "blend"
|
|
},
|
|
{
|
|
"name": "pattern",
|
|
"node_position": {
|
|
"x": -435.795074,
|
|
"y": -154.5
|
|
},
|
|
"parameters": {
|
|
"mix": 0,
|
|
"x_scale": 4,
|
|
"x_wave": 0,
|
|
"y_scale": 4,
|
|
"y_wave": 4
|
|
},
|
|
"type": "pattern"
|
|
},
|
|
{
|
|
"name": "gen_parameters",
|
|
"node_position": {
|
|
"x": -433.557495,
|
|
"y": -236.5
|
|
},
|
|
"parameters": {
|
|
"param0": 4
|
|
},
|
|
"type": "remote",
|
|
"widgets": [
|
|
{
|
|
"label": "Repeat",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "pattern",
|
|
"widget": "x_scale"
|
|
},
|
|
{
|
|
"node": "bricks",
|
|
"widget": "columns"
|
|
},
|
|
{
|
|
"node": "pattern_2",
|
|
"widget": "x_scale"
|
|
}
|
|
],
|
|
"name": "param0",
|
|
"type": "linked_control"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gen_inputs",
|
|
"node_position": {
|
|
"x": -974.752563,
|
|
"y": -38.07143
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_outputs",
|
|
"node_position": {
|
|
"x": 157.204926,
|
|
"y": -38.07143
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
{
|
|
"name": "port0",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"type": "ios"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"param0": 4
|
|
},
|
|
"tree_item": "Pattern/Fibers",
|
|
"type": "graph"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "pattern_scratches",
|
|
"name": "scratches",
|
|
"parameters": {
|
|
"Randomness": 0.5,
|
|
"angle": -1,
|
|
"layers": 5,
|
|
"length": 0.25,
|
|
"randomness": 0.44,
|
|
"waviness": 0.51,
|
|
"width": 0.4
|
|
},
|
|
"tree_item": "Pattern/Scratches",
|
|
"type": "scratches"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"icon": "noise",
|
|
"name": "noise",
|
|
"parameters": {
|
|
"density": 0.5,
|
|
"size": 4
|
|
},
|
|
"tree_item": "Noise",
|
|
"type": "noise"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "noise_perlin",
|
|
"parameters": {
|
|
"iterations": 3,
|
|
"persistence": 0.5,
|
|
"scale_x": 4,
|
|
"scale_y": 4
|
|
},
|
|
"tree_item": "Noise/Perlin",
|
|
"type": "perlin"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "noise_perlin_color",
|
|
"name": "perlin_color",
|
|
"parameters": {
|
|
"iterations": 3,
|
|
"persistence": 0.5,
|
|
"scale_x": 4,
|
|
"scale_y": 4
|
|
},
|
|
"tree_item": "Noise/Perlin/Color",
|
|
"type": "perlin_color"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"connections": [
|
|
{
|
|
"from": "perlin",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 1
|
|
},
|
|
{
|
|
"from": "perlin",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 2
|
|
},
|
|
{
|
|
"from": "perlin",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "transform",
|
|
"from_port": 0,
|
|
"to": "gen_outputs",
|
|
"to_port": 0
|
|
}
|
|
],
|
|
"icon": "noise_perlin_warp1",
|
|
"label": "Warp1",
|
|
"name": "graph",
|
|
"nodes": [
|
|
{
|
|
"name": "transform",
|
|
"node_position": {
|
|
"x": -259.25,
|
|
"y": -658
|
|
},
|
|
"parameters": {
|
|
"repeat": false,
|
|
"rotate": 0,
|
|
"scale_x": 1,
|
|
"scale_y": 1,
|
|
"translate_x": 0.5,
|
|
"translate_y": 0.5
|
|
},
|
|
"type": "transform"
|
|
},
|
|
{
|
|
"name": "perlin",
|
|
"node_position": {
|
|
"x": -502.25,
|
|
"y": -653
|
|
},
|
|
"parameters": {
|
|
"iterations": 3,
|
|
"persistence": 0.5,
|
|
"scale_x": 4,
|
|
"scale_y": 4
|
|
},
|
|
"type": "perlin"
|
|
},
|
|
{
|
|
"name": "gen_inputs",
|
|
"node_position": {
|
|
"x": -670.25,
|
|
"y": -647.5
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_outputs",
|
|
"node_position": {
|
|
"x": 18.75,
|
|
"y": -657.5
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
{
|
|
"name": "port0",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_parameters",
|
|
"node_position": {
|
|
"x": -315.75,
|
|
"y": -893
|
|
},
|
|
"parameters": {
|
|
"param0": 4,
|
|
"param1": 4,
|
|
"param2": 3,
|
|
"param3": 0.5,
|
|
"param4": 0.5,
|
|
"param5": 0.5
|
|
},
|
|
"type": "remote",
|
|
"widgets": [
|
|
{
|
|
"label": "Scale X",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "scale_x"
|
|
}
|
|
],
|
|
"name": "param0",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Scale Y",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "scale_y"
|
|
}
|
|
],
|
|
"name": "param1",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Iterations",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "iterations"
|
|
}
|
|
],
|
|
"name": "param2",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Persistance",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "persistence"
|
|
}
|
|
],
|
|
"name": "param3",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Warp X",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "transform",
|
|
"widget": "translate_x"
|
|
}
|
|
],
|
|
"name": "param4",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Warp Y",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "transform",
|
|
"widget": "translate_y"
|
|
}
|
|
],
|
|
"name": "param5",
|
|
"type": "linked_control"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"parameters": {
|
|
"param0": 4,
|
|
"param1": 4,
|
|
"param2": 3,
|
|
"param3": 0.5,
|
|
"param4": 0.5,
|
|
"param5": 0.5
|
|
},
|
|
"tree_item": "Noise/Perlin/Warp1",
|
|
"type": "graph"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"connections": [
|
|
{
|
|
"from": "perlin",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 1
|
|
},
|
|
{
|
|
"from": "transform_2",
|
|
"from_port": 0,
|
|
"to": "gen_outputs",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "perlin",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 2
|
|
},
|
|
{
|
|
"from": "perlin",
|
|
"from_port": 0,
|
|
"to": "transform_2",
|
|
"to_port": 0
|
|
},
|
|
{
|
|
"from": "transform",
|
|
"from_port": 0,
|
|
"to": "transform_2",
|
|
"to_port": 1
|
|
},
|
|
{
|
|
"from": "transform",
|
|
"from_port": 0,
|
|
"to": "transform_2",
|
|
"to_port": 2
|
|
},
|
|
{
|
|
"from": "perlin",
|
|
"from_port": 0,
|
|
"to": "transform",
|
|
"to_port": 0
|
|
}
|
|
],
|
|
"icon": "noise_perlin_warp2",
|
|
"label": "Warp2",
|
|
"name": "graph",
|
|
"nodes": [
|
|
{
|
|
"name": "transform",
|
|
"node_position": {
|
|
"x": -292.25,
|
|
"y": -629
|
|
},
|
|
"parameters": {
|
|
"repeat": false,
|
|
"rotate": 0,
|
|
"scale_x": 1,
|
|
"scale_y": 1,
|
|
"translate_x": 0.5,
|
|
"translate_y": 0.5
|
|
},
|
|
"type": "transform"
|
|
},
|
|
{
|
|
"name": "perlin",
|
|
"node_position": {
|
|
"x": -558.25,
|
|
"y": -720
|
|
},
|
|
"parameters": {
|
|
"iterations": 3,
|
|
"persistence": 0.5,
|
|
"scale_x": 4,
|
|
"scale_y": 4
|
|
},
|
|
"type": "perlin"
|
|
},
|
|
{
|
|
"name": "gen_inputs",
|
|
"node_position": {
|
|
"x": -802.25,
|
|
"y": -655.5
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_outputs",
|
|
"node_position": {
|
|
"x": 268.75,
|
|
"y": -656.5
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"ports": [
|
|
{
|
|
"name": "port0",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"type": "ios"
|
|
},
|
|
{
|
|
"name": "gen_parameters",
|
|
"node_position": {
|
|
"x": -315.75,
|
|
"y": -905
|
|
},
|
|
"parameters": {
|
|
"param0": 4,
|
|
"param1": 4,
|
|
"param2": 3,
|
|
"param3": 0.5,
|
|
"param4": 0.5,
|
|
"param5": 0.5
|
|
},
|
|
"type": "remote",
|
|
"widgets": [
|
|
{
|
|
"label": "Scale X",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "scale_x"
|
|
}
|
|
],
|
|
"name": "param0",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Scale Y",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "scale_y"
|
|
}
|
|
],
|
|
"name": "param1",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Iterations",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "iterations"
|
|
}
|
|
],
|
|
"name": "param2",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Persistance",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "perlin",
|
|
"widget": "persistence"
|
|
}
|
|
],
|
|
"name": "param3",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Warp X",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "transform",
|
|
"widget": "translate_x"
|
|
},
|
|
{
|
|
"node": "transform_2",
|
|
"widget": "translate_x"
|
|
}
|
|
],
|
|
"name": "param4",
|
|
"type": "linked_control"
|
|
},
|
|
{
|
|
"label": "Warp Y",
|
|
"linked_widgets": [
|
|
{
|
|
"node": "transform",
|
|
"widget": "translate_y"
|
|
},
|
|
{
|
|
"node": "transform_2",
|
|
"widget": "translate_y"
|
|
}
|
|
],
|
|
"name": "param5",
|
|
"type": "linked_control"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "transform_2",
|
|
"node_position": {
|
|
"x": -32.462402,
|
|
"y": -714.099976
|
|
},
|
|
"parameters": {
|
|
"repeat": false,
|
|
"rotate": 0,
|
|
"scale_x": 1,
|
|
"scale_y": 1,
|
|
"translate_x": 0.5,
|
|
"translate_y": 0.5
|
|
},
|
|
"type": "transform"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"param0": 4,
|
|
"param2": 3,
|
|
"param4": 0.5,
|
|
"param5": 0.5
|
|
},
|
|
"tree_item": "Noise/Perlin/Warp2",
|
|
"type": "graph"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "noise_voronoi",
|
|
"parameters": {
|
|
"intensity": 1,
|
|
"scale_x": 4,
|
|
"scale_y": 4
|
|
},
|
|
"tree_item": "Noise/Voronoi",
|
|
"type": "voronoi"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "noise_color",
|
|
"name": "color_noise",
|
|
"parameters": {
|
|
"density": 0.5,
|
|
"size": 9
|
|
},
|
|
"tree_item": "Noise/Color",
|
|
"type": "color_noise"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"tree_item": "Filter"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_invert",
|
|
"name": "invert",
|
|
"parameters": {
|
|
"steps": 6
|
|
},
|
|
"tree_item": "Filter/Invert",
|
|
"type": "invert"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_brightnesscontrast",
|
|
"name": "brightness_contrast",
|
|
"parameters": {
|
|
"brightness": 0,
|
|
"contrast": 1,
|
|
"steps": 6
|
|
},
|
|
"tree_item": "Filter/BrightnessContrast",
|
|
"type": "brightness_contrast"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"parameters": {
|
|
"hue": 0,
|
|
"saturation": 1,
|
|
"value": 1
|
|
},
|
|
"tree_item": "Filter/AdjustHSV",
|
|
"type": "adjust_hsv"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_colorize",
|
|
"parameters": {
|
|
"gradient": [
|
|
{
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 0
|
|
},
|
|
{
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 1,
|
|
"r": 1
|
|
}
|
|
]
|
|
},
|
|
"tree_item": "Filter/Colorize",
|
|
"type": "colorize"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_colorize_invert",
|
|
"parameters": {
|
|
"gradient": [
|
|
{
|
|
"b": 1,
|
|
"g": 1,
|
|
"pos": 0,
|
|
"r": 1
|
|
},
|
|
{
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 1,
|
|
"r": 0
|
|
}
|
|
]
|
|
},
|
|
"tree_item": "Filter/Colorize/Invert",
|
|
"type": "colorize"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_colorize_rainbow",
|
|
"name": "colorize",
|
|
"parameters": {
|
|
"gradient": {
|
|
"points": [
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0,
|
|
"pos": 0,
|
|
"r": 1
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 0,
|
|
"g": 0.96875,
|
|
"pos": 0.254545,
|
|
"r": 1
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 0.125,
|
|
"g": 1,
|
|
"pos": 0.527273,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 0.0625,
|
|
"pos": 0.772727,
|
|
"r": 0
|
|
},
|
|
{
|
|
"a": 1,
|
|
"b": 1,
|
|
"g": 0,
|
|
"pos": 1,
|
|
"r": 0.84375
|
|
}
|
|
],
|
|
"type": "Gradient"
|
|
}
|
|
},
|
|
"tree_item": "Filter/Colorize/Rainbow",
|
|
"type": "colorize"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_blend",
|
|
"parameters": {
|
|
"amount": 0.5,
|
|
"blend_type": 0
|
|
},
|
|
"tree_item": "Filter/Blend",
|
|
"type": "blend"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"tree_item": "Filter/Combine",
|
|
"type": "combine"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"tree_item": "Filter/Decompose",
|
|
"type": "decompose"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_normal_map",
|
|
"parameters": {
|
|
"amount": 0.5
|
|
},
|
|
"tree_item": "Filter/Normal map",
|
|
"type": "normal_map"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_blur",
|
|
"name": "gaussian_blur",
|
|
"parameters": {
|
|
"param0": 9,
|
|
"param1": 50,
|
|
"param2": 0
|
|
},
|
|
"tree_item": "Filter/Blur",
|
|
"type": "gaussian_blur"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_blur_directional",
|
|
"name": "directional_blur",
|
|
"parameters": {
|
|
"param0": 9,
|
|
"param1": 50,
|
|
"param2": 45
|
|
},
|
|
"tree_item": "Filter/Blur/Directional",
|
|
"type": "directional_blur"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_emboss",
|
|
"name": "emboss_2",
|
|
"parameters": {
|
|
"param0": 9,
|
|
"param1": 0,
|
|
"param2": 5
|
|
},
|
|
"tree_item": "Filter/Emboss",
|
|
"type": "emboss"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_occlusion",
|
|
"name": "occlusion",
|
|
"parameters": {
|
|
"param0": 8,
|
|
"param1": 50,
|
|
"param2": 1.5
|
|
},
|
|
"tree_item": "Filter/Occlusion",
|
|
"type": "occlusion"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "filter_quantize",
|
|
"name": "quantize",
|
|
"parameters": {
|
|
"steps": 4
|
|
},
|
|
"tree_item": "Filter/Quantize",
|
|
"type": "quantize"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"icon": "transform",
|
|
"parameters": {
|
|
"rotate": 0,
|
|
"scale_x": 1,
|
|
"scale_y": 1,
|
|
"translate_x": 0,
|
|
"translate_y": 0
|
|
},
|
|
"tree_item": "Transform",
|
|
"type": "transform"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "transform_mirror",
|
|
"name": "mirror",
|
|
"parameters": {
|
|
"direction": 0,
|
|
"offset": 0
|
|
},
|
|
"tree_item": "Transform/Mirror",
|
|
"type": "mirror"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "transform_kaleidoscope",
|
|
"name": "kaleidoscope",
|
|
"parameters": {
|
|
"count": 5,
|
|
"direction": 0,
|
|
"offset": 0
|
|
},
|
|
"tree_item": "Transform/Kaleidoscope",
|
|
"type": "kaleidoscope"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "transform_warp",
|
|
"name": "warp",
|
|
"parameters": {
|
|
"amount": 0.1,
|
|
"eps": 0.1,
|
|
"epsilon": 0
|
|
},
|
|
"tree_item": "Transform/Warp",
|
|
"type": "warp"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "transform_circlemap",
|
|
"name": "circle_map",
|
|
"parameters": {
|
|
|
|
},
|
|
"tree_item": "Transform/CircleMap",
|
|
"type": "circle_map"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"tree_item": "Miscellaneous"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "miscellaneous_buffer",
|
|
"tree_item": "Miscellaneous/Buffer",
|
|
"type": "buffer"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "miscellaneous_custom_shader",
|
|
"shader_model": {
|
|
|
|
},
|
|
"tree_item": "Miscellaneous/Custom Shader",
|
|
"type": "custom"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "miscellaneous_switch",
|
|
"tree_item": "Miscellaneous/Switch",
|
|
"type": "switch"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "miscellaneous_remote",
|
|
"tree_item": "Miscellaneous/Remote",
|
|
"type": "remote",
|
|
"widgets": [
|
|
|
|
]
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "miscellaneous_comment",
|
|
"tree_item": "Miscellaneous/Comment",
|
|
"type": "comment"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "miscellaneous_export",
|
|
"parameters": {
|
|
"size": 10
|
|
},
|
|
"tree_item": "Miscellaneous/Export",
|
|
"type": "export"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"icon": "miscellaneous_debug",
|
|
"tree_item": "Miscellaneous/Debug",
|
|
"type": "debug"
|
|
}
|
|
]
|
|
} |