mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Removed useless files...
This commit is contained in:
parent
101de7f32b
commit
c4a0bbc0a8
21
LICENSE
21
LICENSE
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 Rodolphe Suescun
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -1 +0,0 @@
|
||||
{"name":"uniform","node_position":{"x":0,"y":0},"parameters":{"hue":0,"saturation":1,"value":1},"shader_model":{"global":"vec3 rgb_to_hsv(vec3 c) {\n\tvec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);\n\tvec4 p = c.g < c.b ? vec4(c.bg, K.wz) : vec4(c.gb, K.xy);\n\tvec4 q = c.r < p.x ? vec4(p.xyw, c.r) : vec4(c.r, p.yzx);\n\n\tfloat d = q.x - min(q.w, q.y);\n\tfloat e = 1.0e-10;\n\treturn vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);\n}\n\nvec3 hsv_to_rgb(vec3 c) {\n\tvec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n\tvec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n\treturn c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n","inputs":[{"default":"vec4($uv.x, $uv.y, 0.0, 1.0)","label":"","name":"in","type":"rgba"}],"instance":"vec4 $(name)_f(vec4 c) {\n\tvec3 hsv = rgb_to_hsv(c.rgb);\n\treturn vec4(hsv_to_rgb(vec3(fract(hsv.x+$(hue)), clamp(hsv.y*$(saturation), 0.0, 1.0), clamp(hsv.z*$(value), 0.0, 1.0))), c.a);\n}","name":"AdjustHSV","outputs":[{"rgba":"$(name)_f($in($(uv)))"}],"parameters":[{"default":0,"label":"Hue","max":0.5,"min":-0.5,"name":"hue","step":0,"type":"float"},{"default":1,"label":"Saturation","max":2,"min":0,"name":"saturation","step":0,"type":"float"},{"default":1,"label":"Value","max":2,"min":0,"name":"value","step":0,"type":"float"}]}}
|
@ -1 +0,0 @@
|
||||
{"global":"\n\t\tvec3 brick(vec2 uv, vec2 bmin, vec2 bmax, float mortar, float bevel) {\n\t\t\tfloat color = 0.5;\n\t\t\tvec2 c1 = (uv-bmin-vec2(mortar))/bevel;\n\t\t\tvec2 c2 = (bmax-uv-vec2(mortar))/bevel;\n\t\t\tvec2 c = min(c1, c2);\n\t\t\tcolor = clamp(min(c.x, c.y), 0.0, 1.0);\n\t\t\treturn vec3(color, mod(bmin, vec2(1.0, 1.0)));\n\t\t}\n\n\t\tvec3 bricks_rb(vec2 uv, vec2 count, float repeat, float offset, float mortar, float bevel) {\n\t\t\tcount *= repeat;\n\t\t\tmortar /= max(count.x, count.y);\n\t\t\tbevel /= max(count.x, count.y);\n\t\t\tfloat x_offset = offset*step(0.5, fract(uv.y*count.y*0.5));\n\t\t\tvec2 bmin = floor(vec2(uv.x*count.x-x_offset, uv.y*count.y));\n\t\t\tbmin.x += x_offset;\n\t\t\tbmin /= count;\n\t\t\treturn brick(uv, bmin, bmin+vec2(1.0)/count, mortar, bevel);\n\t\t}\n\n\t\tvec3 bricks_rb2(vec2 uv, vec2 count, float repeat, float offset, float mortar, float bevel) {\n\t\t\tcount *= repeat;\n\t\t\tmortar /= max(2.0*count.x, count.y);\n\t\t\tbevel /= max(2.0*count.x, count.y);\n\t\t\tfloat x_offset = offset*step(0.5, fract(uv.y*count.y*0.5));\n\t\t\tcount.x = count.x*(1.0+step(0.5, fract(uv.y*count.y*0.5)));\n\t\t\tvec2 bmin = floor(vec2(uv.x*count.x-x_offset, uv.y*count.y));\n\t\t\tbmin.x += x_offset;\n\t\t\tbmin /= count;\n\t\t\treturn brick(uv, bmin, bmin+vec2(1.0)/count, mortar, bevel);\n\t\t}\n\n\t\tvec3 bricks_hb(vec2 uv, vec2 count, float repeat, float offset, float mortar, float bevel) {\n\t\t\tfloat pc = count.x+count.y;\n\t\t\tfloat c = pc*repeat;\n\t\t\tmortar /= c;\n\t\t\tbevel /= c;\n\t\t\tvec2 corner = floor(uv*c);\n\t\t\tfloat cdiff = mod(corner.x-corner.y, pc);\n\t\t\tif (cdiff < count.x) {\n\t\t\t\treturn brick(uv, (corner-vec2(cdiff, 0.0))/c, (corner-vec2(cdiff, 0.0)+vec2(count.x, 1.0))/c, mortar, bevel);\n\t\t\t} else {\n\t\t\t\treturn brick(uv, (corner-vec2(0.0, pc-cdiff-1.0))/c, (corner-vec2(0.0, pc-cdiff-1.0)+vec2(1.0, count.y))/c, mortar, bevel);\n\t\t\t}\n\t\t}\n\n\t\tvec3 bricks_bw(vec2 uv, vec2 count, float repeat, float offset, float mortar, float bevel) {\n\t\t\tvec2 c = 2.0*count*repeat;\n\t\t\tfloat mc = max(c.x, c.y);\n\t\t\tmortar /= mc;\n\t\t\tbevel /= mc;\n\t\t\tvec2 corner1 = floor(uv*c);\n\t\t\tvec2 corner2 = count*floor(repeat*2.0*uv);\n\t\t\tfloat cdiff = mod(dot(floor(repeat*2.0*uv), vec2(1.0)), 2.0);\n\t\t\tvec2 corner;\n\t\t\tvec2 size;\n\t\t\tif (cdiff == 0.0) {\n\t\t\t\tcorner = vec2(corner1.x, corner2.y);\n\t\t\t\tsize = vec2(1.0, count.y);\n\t\t\t} else {\n\t\t\t\tcorner = vec2(corner2.x, corner1.y);\n\t\t\t\tsize = vec2(count.x, 1.0);\n\t\t\t}\n\t\t\treturn brick(uv, corner/c, (corner+size)/c, mortar, bevel);\n\t\t}\n\n\t\tvec3 bricks_sb(vec2 uv, vec2 count, float repeat, float offset, float mortar, float bevel) {\n\t\t\tvec2 c = (count+vec2(1.0))*repeat;\n\t\t\tfloat mc = max(c.x, c.y);\n\t\t\tmortar /= mc;\n\t\t\tbevel /= mc;\n\t\t\tvec2 corner1 = floor(uv*c);\n\t\t\tvec2 corner2 = (count+vec2(1.0))*floor(repeat*uv);\n\t\t\tvec2 rcorner = corner1 - corner2;\n\t\t\tvec2 corner;\n\t\t\tvec2 size;\n\t\t\tif (rcorner.x == 0.0 && rcorner.y < count.y) {\n\t\t\t\tcorner = corner2;\n\t\t\t\tsize = vec2(1.0, count.y);\n\t\t\t} else if (rcorner.y == 0.0) {\n\t\t\t\tcorner = corner2+vec2(1.0, 0.0);\n\t\t\t\tsize = vec2(count.x, 1.0);\n\t\t\t} else if (rcorner.x == count.x) {\n\t\t\t\tcorner = corner2+vec2(count.x, 1.0);\n\t\t\t\tsize = vec2(1.0, count.y);\n\t\t\t} else if (rcorner.y == count.y) {\n\t\t\t\tcorner = corner2+vec2(0.0, count.y);\n\t\t\t\tsize = vec2(count.x, 1.0);\n\t\t\t} else {\n\t\t\t\tcorner = corner2+vec2(1.0);\n\t\t\t\tsize = vec2(count.x-1.0, count.y-1.0);\n\t\t\t}\n\t\t\treturn brick(uv, corner/c, (corner+size)/c, mortar, bevel);\n\t\t}","include":["noise"],"instance":"\n\t\tvec3 $(name)_xyz(vec2 uv) {\n\t\t\treturn bricks_$(pattern)(uv, vec2($(columns), $(rows)), $(repeat), $(row_offset), $(mortar), max(0.001, $(bevel)));\n\t\t}","name":"Bricks","outputs":[{"f":"$(name)_xyz($(uv)).x"},{"rgb":"rand3($(name)_xyz($(uv)).yz+vec2($(seed)))"}],"parameters":[{"label":"","name":"pattern","type":"enum","values":[{"name":"Running bond","value":"rb"},{"name":"Running bond (2)","value":"rb2"},{"name":"HerringBone","value":"hb"},{"name":"Basket weave","value":"bw"},{"name":"Spanish bond","value":"sb"}]},{"default":1,"label":"Repeat:","max":8,"min":1,"name":"repeat","step":1,"type":"float","widget":"spinbox"},{"default":6,"label":"Rows:","max":64,"min":1,"name":"rows","step":1,"type":"float","widget":"spinbox"},{"default":3,"label":"Columns:","max":64,"min":1,"name":"columns","step":1,"type":"float","widget":"spinbox"},{"default":0.5,"label":"Offset:","max":1,"min":0,"name":"row_offset","type":"float"},{"default":0.1,"label":"Mortar:","max":0.5,"min":0,"name":"mortar","type":"float"},{"default":0.1,"label":"Bevel:","max":0.5,"min":0,"name":"bevel","type":"float"}]}
|
@ -1 +0,0 @@
|
||||
{"name":"uniform","node_position":{"x":-253,"y":21},"parameters":{"color":{"a":1,"b":1,"g":1,"r":1,"type":"Color"}},"shader_model":{"global":"","inputs":[{"default":"0.0","label":"R","name":"r","type":"f"},{"default":"0.0","label":"G","name":"g","type":"f"},{"default":"0.0","label":"B","name":"b","type":"f"},{"default":"1.0","label":"A","name":"a","type":"f"}],"instance":"","name":"Uniform","outputs":[{"rgba":"vec4($r($uv), $g($uv), $b($uv), $a($uv))"}],"parameters":[{"default":0,"label":"Label","max":0,"min":0,"name":"name","step":0,"type":"float"},{"default":0,"label":"Label","max":0,"min":0,"name":"name","step":0,"type":"float"},{"default":0,"label":"Label","max":0,"min":0,"name":"name","step":0,"type":"float"},{"default":0,"label":"Label","max":0,"min":0,"name":"name","step":0,"type":"float"}]}}
|
@ -1 +0,0 @@
|
||||
{"global":"\n\t\tfloat rand(vec2 x) {\n\t\t\treturn fract(cos(dot(x, vec2(13.9898, 8.141))) * 43758.5453);\n\t\t}\n\t\tvec2 rand2(vec2 x) {\n\t\t\treturn fract(cos(vec2(dot(x, vec2(13.9898, 8.141)),\n\t\t\t\t\t\t\t\t dot(x, vec2(3.4562, 17.398)))) * 43758.5453);\n\t\t}\n\t\tvec3 rand3(vec2 x) {\n\t\t\treturn fract(cos(vec3(dot(x, vec2(13.9898, 8.141)),\n\t\t\t\t\t\t\t\t dot(x, vec2(3.4562, 17.398)),\n\t\t\t\t\t\t\t\t dot(x, vec2(13.254, 5.867)))) * 43758.5453);\n\t\t}","instance":"\n\t\tfloat $(name)_f(vec2 uv) {\n\t\t\treturn dots(uv, 1.0/$(size), $(density), $(seed));\n\t\t}","name":"Noise","outputs":[{"f":"$(name)_f($(uv))"}],"parameters":[{"default":8,"first":2,"label":"Grid Size:","last":12,"name":"size","type":"size"},{"label":"Density:","max":1,"min":0,"name":"density","type":"float"}]}
|
@ -1 +0,0 @@
|
||||
{"connections":[{"from":"pattern","from_port":0,"to":"normal_map","to_port":0}],"label":"Graph","name":"@@39","node_position":{"x":0,"y":0},"nodes":[{"name":"Material","node_position":{"x":247,"y":-12},"parameters":{"albedo_color":{"a":1,"b":1,"g":1,"r":1,"type":"Color"},"emission_energy":1,"metallic":1,"roughness":1},"type":"material"},{"name":"pattern","node_position":{"x":-338.5,"y":38.5},"parameters":{"mix":0,"x_scale":4,"x_wave":0,"y_scale":4,"y_wave":0},"type":"pattern"},{"name":"normal_map","node_position":{"x":-9.5,"y":69.5},"parameters":{"amount":0.5},"type":"normal_map"}],"parameters":{},"type":"graph"}
|
@ -1 +0,0 @@
|
||||
{"connections":[{"from":"colorize_2","from_port":0,"to":"Material","to_port":0},{"from":"colorize_3","from_port":0,"to":"colorize_2","to_port":0},{"from":"perlin","from_port":0,"to":"colorize_3","to_port":0},{"from":"colorize_4","from_port":0,"to":"Material","to_port":2},{"from":"colorize_3","from_port":0,"to":"colorize_4","to_port":0}],"label":"Graph","name":"39","node_position":{"x":0,"y":0},"nodes":[{"name":"Material","node_position":{"x":105,"y":242},"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,"roughness":1},"type":"material"},{"name":"_2","node_position":{"x":-352.5,"y":53.5},"parameters":{"param0":0,"param1":{"points":[{"a":1,"b":1,"g":1,"pos":0,"r":1},{"a":1,"b":0,"g":0,"pos":1,"r":0}],"type":"Gradient"}},"type":"remote","widgets":[{"configurations":{"Invert":[{"node":"_2","value":{"points":[{"a":1,"b":1,"g":1,"pos":0,"r":1},{"a":1,"b":0,"g":0,"pos":1,"r":0}],"type":"Gradient"},"widget":"param1"}],"Rainbow":[{"node":"_2","value":{"points":[{"a":1,"b":0,"g":0,"pos":0,"r":1},{"a":1,"b":0,"g":1,"pos":0.239394,"r":1},{"a":1,"b":0,"g":1,"pos":0.484849,"r":0.09375},{"a":1,"b":1,"g":0.09375,"pos":0.748485,"r":0},{"a":1,"b":0.96875,"g":0,"pos":1,"r":1}],"type":"Gradient"},"widget":"param1"}],"Terrain":[{"node":"_2","value":{"points":[{"a":1,"b":1,"g":0.40625,"pos":0.154545,"r":0},{"a":1,"b":0.619792,"g":0.916829,"pos":0.20101,"r":1},{"a":1,"b":0.619792,"g":0.916829,"pos":0.328283,"r":1},{"a":1,"b":0,"g":1,"pos":0.357576,"r":0.09375},{"a":1,"b":0,"g":0.330121,"pos":0.646464,"r":0.371768},{"a":1,"b":0,"g":0.272135,"pos":0.839394,"r":0.395833},{"a":1,"b":1,"g":1,"pos":0.927273,"r":1}],"type":"Gradient"},"widget":"param1"}]},"label":"Unnamed","linked_widgets":[{"node":"colorize","widget":"gradient"},{"node":"_2","widget":"param1"}],"type":"config_control"},{"label":"Unnamed","linked_widgets":[{"node":"colorize_2","widget":"gradient"}],"type":"linked_control"}]},{"name":"colorize_2","node_position":{"x":-284.166656,"y":177},"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":"perlin","node_position":{"x":-726.388916,"y":209.166656},"parameters":{"iterations":7,"persistence":0.65,"scale_x":8,"scale_y":8},"type":"perlin"},{"name":"colorize_3","node_position":{"x":-602.188904,"y":390.166656},"parameters":{"gradient":{"points":[{"a":1,"b":0,"g":0,"pos":0.381818,"r":0},{"a":1,"b":1,"g":1,"pos":0.854545,"r":1}],"type":"Gradient"}},"type":"colorize"},{"name":"colorize_4","node_position":{"x":-248.188904,"y":414.166656},"parameters":{"gradient":{"points":[{"a":1,"b":0.182292,"g":0.182292,"pos":0.072727,"r":0.182292},{"a":1,"b":1,"g":1,"pos":0.154545,"r":1}],"type":"Gradient"}},"type":"colorize"}],"parameters":{},"type":"graph"}
|
File diff suppressed because one or more lines are too long
1
test.mmn
1
test.mmn
@ -1 +0,0 @@
|
||||
{"global":"","instance":"","name":"Test","outputs":[{"f":"abs($(uv).x+$(uv).y-1.0)"}],"parameters":[]}
|
BIN
test.png
BIN
test.png
Binary file not shown.
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 203 KiB |
@ -1 +0,0 @@
|
||||
{"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}],"name":"@@72","node_position":{"x":0,"y":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"},{"name":"custom_0","node_position":{"x":-402,"y":-106.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"}},"shader_model":{"global":"","inputs":[{"default":"0.0","label":"Input","name":"input","type":"f"}],"instance":"","name":"Colorize","outputs":[{"rgba":"$gradient($input($uv))","type":"rgba"}],"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":"adjust_hsv_0","node_position":{"x":-135.541687,"y":-150.597229},"parameters":{"hue":0.293457,"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"}],"parameters":{}}
|
@ -1 +0,0 @@
|
||||
{"connections":[{"from":"pattern","from_port":0,"to":"buffer","to_port":0},{"from":"buffer","from_port":0,"to":"Material","to_port":0}],"name":"@@39","node_position":{"x":0,"y":0},"nodes":[{"name":"Material","node_position":{"x":0,"y":0},"parameters":{},"type":"material"},{"name":"pattern","node_position":{"x":-282,"y":23},"parameters":{"mix":0,"x_scale":4,"x_wave":0,"y_scale":4,"y_wave":0},"type":"pattern"},{"name":"buffer","node_position":{"x":-7,"y":29},"parameters":{"size":1},"type":"buffer"}],"parameters":{}}
|
10
test2.tres
10
test2.tres
@ -1,10 +0,0 @@
|
||||
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://test2_albedo.png" type="Texture" id=1]
|
||||
|
||||
[resource]
|
||||
|
||||
albedo_texture = ExtResource( 1 )
|
||||
metallic = 1.0
|
||||
roughness_texture_channel = 1
|
||||
|
BIN
test2_albedo.png
BIN
test2_albedo.png
Binary file not shown.
Before Width: | Height: | Size: 295 KiB |
@ -1 +0,0 @@
|
||||
{"connections":[{"from":"pattern_0","from_port":0,"to":"Material","to_port":0},{"from":"pattern_0","from_port":0,"to":"Material","to_port":3}],"nodes":[{"name":"Material","node_position":{"x":158,"y":-147},"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":0,"roughness":1},"type":"material"},{"name":"pattern_0","node_position":{"x":-204,"y":-94},"parameters":{"mix":2,"x_scale":4,"x_wave":0,"y_scale":4,"y_wave":0},"type":"pattern"}]}
|
@ -1 +0,0 @@
|
||||
{"connections":[{"from":"uniform_0","from_port":0,"to":"adjust_hsv_0","to_port":0},{"from":"uniform_0","from_port":0,"to":"custom_0","to_port":0}],"nodes":[{"name":"Material","node_position":{"x":511,"y":-49},"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"},{"name":"uniform_0","node_position":{"x":-76,"y":71},"parameters":{"color":{"a":1,"b":0,"g":0,"r":1,"type":"Color"}},"type":"uniform"},{"model_data":{"global":"vec3 rgb_to_hsv(vec3 c) {\n\tvec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);\n\tvec4 p = c.g < c.b ? vec4(c.bg, K.wz) : vec4(c.gb, K.xy);\n\tvec4 q = c.r < p.x ? vec4(p.xyw, c.r) : vec4(c.r, p.yzx);\n\n\tfloat d = q.x - min(q.w, q.y);\n\tfloat e = 1.0e-10;\n\treturn vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);\n}\n\nvec3 hsv_to_rgb(vec3 c) {\n\tvec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n\tvec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n\treturn c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n","inputs":[{"default":"vec3(1.0)","label":"","name":"in","type":"rgb"}],"instance":"vec3 $(name)_f(vec3 c) {\n\tvec3 hsv = rgb_to_hsv(c);\n\treturn hsv_to_rgb(vec3(fract(hsv.x+$(hue)), clamp(hsv.y*$(saturation), 0.0, 1.0), clamp(hsv.z*$(value), 0.0, 1.0)));\n}","name":"AdjustHSV","outputs":[{"rgb":"$(name)_f($in($(uv)))"}],"parameters":[{"default":0,"label":"Hue","max":0.5,"min":-0.5,"name":"hue","step":0,"type":"float"},{"default":1,"label":"Saturation","max":2,"min":0,"name":"saturation","step":0,"type":"float"},{"default":1,"label":"Value","max":2,"min":0,"name":"value","step":0,"type":"float"}]},"name":"custom_0","node_position":{"x":163,"y":105},"parameters":{"hue":0,"saturation":1,"value":1},"type":"custom"},{"name":"adjust_hsv_0","node_position":{"x":152,"y":18},"parameters":{"hue":0,"saturation":1,"value":1},"type":"adjust_hsv"}]}
|
@ -1 +0,0 @@
|
||||
{"connections":[{"from":"custom_0","from_port":0,"to":"custom_2","to_port":0},{"from":"custom_1","from_port":0,"to":"Material","to_port":0}],"nodes":[{"name":"pattern_0","node_position":{"x":-15.75,"y":44.25},"parameters":{"mix":4,"x_scale":4,"x_wave":0,"y_scale":4,"y_wave":0},"type":"pattern"},{"name":"Material","node_position":{"x":455,"y":26},"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"},{"model_data":{"global":"","inputs":[{"default":"vec4(vec3(mod(floor($uv.x*16.0)+floor($uv.y*16.0), 2.0)), 1.0)","label":"Label","name":"in","type":"rgba"}],"instance":"","name":"","outputs":[{"rgba":"$in($(uv)+vec2($(x)*sin(10.0*$(uv).y), $(y)*sin(10.0*$(uv).x)))"}],"parameters":[{"default":0,"label":"X","max":1,"min":-1,"name":"x","step":0,"type":"float"},{"default":0,"label":"Y","max":1,"min":-1,"name":"y","step":0,"type":"float"}]},"name":"custom_0","node_position":{"x":-56,"y":-171},"parameters":{"x":0,"y":0},"type":"custom"},{"model_data":{"global":"","inputs":[{"default":"vec4(vec3(mod(floor($uv.x*16.0)+floor($uv.y*16.0), 2.0)), 1.0)","label":"Label","name":"in","type":"rgba"}],"instance":"","name":"","outputs":[{"rgba":"0.25*($in($uv+pow(0.5, $d)*vec2(1.0, 1.0))+$in($uv+pow(0.5, $d)*vec2(-1.0, 1.0))+$in($uv+pow(0.5, $d)*vec2(1.0, -1.0))+$in($uv+pow(0.5, $d)*vec2(-1.0, -1.0)))"}],"parameters":[{"default":1,"label":"D","max":12,"min":4,"name":"d","step":1,"type":"float"}]},"name":"custom_2","node_position":{"x":200.541656,"y":-139.916656},"parameters":{"d":8},"type":"custom"},{"model_data":{"global":"","inputs":[{"default":"vec4(vec3(mod(floor($uv.x*16.0)+floor($uv.y*16.0), 2.0)), 1.0)","label":"Label","name":"in","type":"rgba"}],"instance":"","name":"","outputs":[{"rgba":"$in(vec2($x*$uv.x, $y*$uv.y+sin(TIME)))"}],"parameters":[{"default":1,"label":"X","max":2,"min":0,"name":"x","step":0,"type":"float"},{"default":1,"label":"Y","max":2,"min":0,"name":"y","step":0,"type":"float"}]},"name":"custom_1","node_position":{"x":82.916656,"y":180.583344},"parameters":{"x":0.5,"y":1.40625},"type":"custom"}]}
|
@ -1 +0,0 @@
|
||||
{"connections":[{"from":"buffer","from_port":0,"to":"blend","to_port":0},{"from":"buffer","from_port":0,"to":"blend","to_port":1},{"from":"pattern","from_port":0,"to":"buffer","to_port":0},{"from":"blend","from_port":0,"to":"Material","to_port":0},{"from":"colorize","from_port":0,"to":"Material","to_port":2},{"from":"pattern","from_port":0,"to":"colorize","to_port":0}],"name":"39","node_position":{"x":0,"y":0},"nodes":[{"name":"Material","node_position":{"x":0,"y":0},"parameters":{"albedo_color":{"a":1,"b":0,"g":0,"r":1,"type":"Color"},"emission_energy":1,"metallic":0.4,"roughness":1},"type":"[SpatialMaterial:4439]"},{"name":"blend","node_position":{"x":28,"y":-208},"parameters":{"amount":0.5,"blend_type":0},"type":"blend"},{"name":"buffer","node_position":{"x":-193,"y":-200},"parameters":{"size":1},"type":"buffer"},{"name":"pattern","node_position":{"x":-458,"y":-197},"parameters":{"mix":0,"x_scale":4,"x_wave":0,"y_scale":4,"y_wave":0},"type":"pattern"},{"name":"colorize","node_position":{"x":-229.25,"y":-87.75},"parameters":{"gradient":{"points":[{"a":1,"b":0,"g":0,"pos":0.509091,"r":0},{"a":1,"b":1,"g":1,"pos":0.536364,"r":1}],"type":"Gradient"}},"type":"colorize"}],"parameters":{}}
|
@ -1 +0,0 @@
|
||||
{"connections":[],"name":"@@39","node_position":{"x":0,"y":0},"nodes":[{"name":"Material","node_position":{"x":0,"y":0},"parameters":{"albedo_color":{"a":1,"b":1,"g":1,"r":1,"type":"Color"},"emission_energy":1,"metallic":1,"roughness":1},"type":"material"}],"parameters":{},"type":"graph"}
|
Loading…
Reference in New Issue
Block a user