mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
6ca982b692
Parameters are now saved separately from other node attributes (type, name...). Old files can still be loaded.
1 line
8.2 KiB
Plaintext
1 line
8.2 KiB
Plaintext
{"connections":[{"from":"Perlin","from_port":0,"to":"Warp","to_port":1},{"from":"Warp","from_port":0,"to":"colorize_2","to_port":0},{"from":"colorize_2","from_port":0,"to":"blend_0","to_port":2},{"from":"colorize_0","from_port":0,"to":"blend_0","to_port":1},{"from":"blend_0","from_port":0,"to":"Material","to_port":0},{"from":"colorize_2","from_port":0,"to":"colorize_4","to_port":0},{"from":"colorize_4","from_port":0,"to":"Material","to_port":2},{"from":"blend_1","from_port":0,"to":"colorize_1","to_port":0},{"from":"Warp","from_port":0,"to":"blend_2","to_port":0},{"from":"Perlin","from_port":0,"to":"blend_2","to_port":1},{"from":"blend_2","from_port":0,"to":"colorize_3","to_port":0},{"from":"blend_2","from_port":0,"to":"colorize_6","to_port":0},{"from":"Perlin","from_port":0,"to":"blend_1","to_port":0},{"from":"Perlin","from_port":0,"to":"colorize_0","to_port":0},{"from":"uniform_0","from_port":0,"to":"Material","to_port":1},{"from":"colorize_3","from_port":0,"to":"Material","to_port":5},{"from":"uniform_0","from_port":0,"to":"combine_0","to_port":0},{"from":"colorize_4","from_port":0,"to":"combine_0","to_port":1},{"from":"combine_0","from_port":0,"to":"export_0","to_port":0},{"from":"normal_map_0","from_port":0,"to":"Material","to_port":4},{"from":"colorize_6","from_port":0,"to":"normal_map_0","to_port":0},{"from":"colorize_1","from_port":0,"to":"adjust_hsv_0","to_port":0},{"from":"adjust_hsv_0","from_port":0,"to":"blend_0","to_port":0},{"from":"switch_0","from_port":0,"to":"Warp","to_port":0},{"from":"switch_0","from_port":1,"to":"blend_1","to_port":1},{"from":"Bricks","from_port":0,"to":"switch_0","to_port":0},{"from":"voronoi_0","from_port":2,"to":"switch_0","to_port":3},{"from":"voronoi_0","from_port":1,"to":"colorize_5","to_port":0},{"from":"colorize_5","from_port":0,"to":"switch_0","to_port":2},{"from":"Bricks","from_port":1,"to":"switch_0","to_port":1}],"nodes":[{"name":"colorize_0","node_position":{"x":560.943665,"y":50},"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":"Material","node_position":{"x":1081,"y":208},"parameters":{"albedo_color":{"a":1,"b":1,"g":1,"r":1,"type":"Color"},"ao_light_affect":1,"depth_scale":0,"emission_energy":1,"metallic":1,"normal_scale":1,"resolution":1,"roughness":1},"type":"material"},{"name":"blend_2","node_position":{"x":536,"y":331},"parameters":{"amount":0.5,"blend_type":0},"type":"blend"},{"name":"blend_0","node_position":{"x":836.943726,"y":-71},"parameters":{"amount":0.5,"blend_type":0},"type":"blend"},{"name":"colorize_2","node_position":{"x":544.943665,"y":159},"parameters":{"gradient":{"points":[{"a":1,"b":0,"g":0,"pos":0,"r":0},{"a":1,"b":1,"g":1,"pos":0.1,"r":1}],"type":"Gradient"}},"type":"colorize"},{"name":"uniform_0","node_position":{"x":764,"y":164},"parameters":{"color":{"a":1,"b":0,"g":0,"r":0,"type":"Color"}},"type":"uniform"},{"name":"combine_0","node_position":{"x":896,"y":86},"parameters":{},"type":"combine"},{"name":"export_0","node_position":{"x":1050,"y":79},"parameters":{"resolution":1},"suffix":"mr","type":"export"},{"name":"colorize_4","node_position":{"x":711,"y":215},"parameters":{"gradient":{"points":[{"a":1,"b":1,"g":1,"pos":0,"r":1},{"a":1,"b":0.546875,"g":0.546875,"pos":1,"r":0.546875}],"type":"Gradient"}},"type":"colorize"},{"name":"colorize_6","node_position":{"x":708,"y":289},"parameters":{"gradient":{"points":[{"a":1,"b":1,"g":1,"pos":0,"r":1},{"a":1,"b":0,"g":0,"pos":1,"r":0}],"type":"Gradient"}},"type":"colorize"},{"name":"colorize_3","node_position":{"x":711,"y":361},"parameters":{"gradient":{"points":[{"a":1,"b":0.838542,"g":0.838542,"pos":0.145455,"r":0.838542},{"a":1,"b":1,"g":1,"pos":0.536364,"r":1}],"type":"Gradient"}},"type":"colorize"},{"name":"normal_map_0","node_position":{"x":881.045654,"y":309.691162},"parameters":{"amount":0.35,"size":4},"type":"normal_map"},{"name":"adjust_hsv_0","node_position":{"x":583.224792,"y":-74.268188},"parameters":{"hue":0,"saturation":1,"value":1},"type":"adjust_hsv"},{"name":"colorize_1","node_position":{"x":406.943665,"y":-80},"parameters":{"gradient":{"points":[{"a":1,"b":0.0016,"g":0.0016,"pos":0,"r":0.307292},{"a":1,"b":0,"g":0.180135,"pos":0.2,"r":0.606771},{"a":1,"b":0,"g":0,"pos":0.345455,"r":0.3125},{"a":1,"b":0,"g":0.19869,"pos":0.545455,"r":0.669271},{"a":1,"b":0.019368,"g":0.060224,"pos":0.745455,"r":0.309896},{"a":1,"b":0,"g":0.180135,"pos":1,"r":0.606771}],"type":"Gradient"}},"type":"colorize"},{"name":"blend_1","node_position":{"x":316,"y":217},"parameters":{"amount":0.5,"blend_type":6},"type":"blend"},{"name":"Perlin","node_position":{"x":32,"y":238},"parameters":{"iterations":6,"persistence":0.85,"scale_x":4,"scale_y":4},"type":"perlin"},{"name":"colorize_5","node_position":{"x":-135.515076,"y":101.237671},"parameters":{"gradient":{"points":[{"a":1,"b":0,"g":0,"pos":0.027273,"r":0},{"a":1,"b":1,"g":1,"pos":0.2,"r":1}],"type":"Gradient"}},"type":"colorize"},{"name":"Warp","node_position":{"x":306,"y":55.75},"parameters":{"amount":0.04},"type":"warp"},{"editable":true,"node_position":{"x":107.669189,"y":-338.657043},"type":"remote","widgets":[{"configurations":{"Basket weave":[{"node":"Bricks","value":3,"widget":"pattern"},{"node":"Bricks","value":2,"widget":"repeat"},{"node":"Bricks","value":2,"widget":"rows"},{"node":"Bricks","value":2,"widget":"columns"},{"node":"switch_0","value":0,"widget":"source"},{"node":"voronoi_0","value":8,"widget":"scale_x"},{"node":"voronoi_0","value":8,"widget":"scale_y"}],"Herring bone":[{"node":"Bricks","value":2,"widget":"pattern"},{"node":"Bricks","value":2,"widget":"repeat"},{"node":"Bricks","value":2,"widget":"rows"},{"node":"Bricks","value":2,"widget":"columns"},{"node":"switch_0","value":0,"widget":"source"},{"node":"voronoi_0","value":8,"widget":"scale_x"},{"node":"voronoi_0","value":8,"widget":"scale_y"}],"Running bond 1":[{"node":"Bricks","value":0,"widget":"pattern"},{"node":"Bricks","value":1,"widget":"repeat"},{"node":"Bricks","value":8,"widget":"rows"},{"node":"Bricks","value":4,"widget":"columns"},{"node":"switch_0","value":0,"widget":"source"},{"node":"voronoi_0","value":8,"widget":"scale_x"},{"node":"voronoi_0","value":8,"widget":"scale_y"}],"Running bond 2":[{"node":"Bricks","value":1,"widget":"pattern"},{"node":"Bricks","value":1,"widget":"repeat"},{"node":"Bricks","value":8,"widget":"rows"},{"node":"Bricks","value":4,"widget":"columns"},{"node":"switch_0","value":0,"widget":"source"},{"node":"voronoi_0","value":8,"widget":"scale_x"},{"node":"voronoi_0","value":8,"widget":"scale_y"}],"Spanish bond":[{"node":"Bricks","value":4,"widget":"pattern"},{"node":"Bricks","value":3,"widget":"repeat"},{"node":"Bricks","value":2,"widget":"rows"},{"node":"Bricks","value":2,"widget":"columns"},{"node":"switch_0","value":0,"widget":"source"},{"node":"voronoi_0","value":8,"widget":"scale_x"},{"node":"voronoi_0","value":8,"widget":"scale_y"}],"Uneven":[{"node":"Bricks","value":3,"widget":"pattern"},{"node":"Bricks","value":2,"widget":"repeat"},{"node":"Bricks","value":2,"widget":"rows"},{"node":"Bricks","value":2,"widget":"columns"},{"node":"switch_0","value":1,"widget":"source"},{"node":"voronoi_0","value":8,"widget":"scale_x"},{"node":"voronoi_0","value":8,"widget":"scale_y"}]},"label":"Pattern","linked_widgets":[{"node":"Bricks","widget":"pattern"},{"node":"Bricks","widget":"repeat"},{"node":"Bricks","widget":"rows"},{"node":"Bricks","widget":"columns"},{"node":"switch_0","widget":"source"},{"node":"voronoi_0","widget":"scale_x"},{"node":"voronoi_0","widget":"scale_y"}],"type":"config_control"},{"label":"Hue","linked_widgets":[{"node":"adjust_hsv_0","widget":"hue"}],"type":"linked_control"},{"label":"Saturation","linked_widgets":[{"node":"adjust_hsv_0","widget":"saturation"}],"type":"linked_control"},{"label":"Value","linked_widgets":[{"node":"adjust_hsv_0","widget":"value"}],"type":"linked_control"}]},{"name":"Bricks","node_position":{"x":-233,"y":-131},"parameters":{"bevel":0.2,"columns":2,"mortar":0.05,"pattern":3,"repeat":2,"row_offset":0.5,"rows":2},"type":"bricks"},{"name":"voronoi_0","node_position":{"x":-339.515076,"y":139.237671},"parameters":{"intensity":1,"scale_x":8,"scale_y":8},"type":"voronoi"},{"name":"switch_0","node_position":{"x":113.484924,"y":70.237671},"parameters":{"source":0},"type":"switch"}]} |