mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
Fixed truchet nodes (broken by seed related changes)
This commit is contained in:
parent
d9a482eb11
commit
fd83287000
@ -5,10 +5,8 @@
|
||||
"y": 0
|
||||
},
|
||||
"parameters": {
|
||||
"Size": 4,
|
||||
"shape": 1,
|
||||
"size": 4,
|
||||
"type": 1
|
||||
"size": 4
|
||||
},
|
||||
"shader_model": {
|
||||
"code": "",
|
||||
@ -20,7 +18,7 @@
|
||||
"name": "Truchet",
|
||||
"outputs": [
|
||||
{
|
||||
"f": "truchet$shape($uv*$size, vec2($seed, $seed))",
|
||||
"f": "truchet$shape($uv*$size, vec2(float($seed)))",
|
||||
"type": "f"
|
||||
}
|
||||
],
|
||||
@ -42,14 +40,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"control": "None",
|
||||
"default": 4,
|
||||
"label": "Size",
|
||||
"max": 64,
|
||||
"min": 2,
|
||||
"name": "size",
|
||||
"step": 1,
|
||||
"type": "float",
|
||||
"widget": "spinbox"
|
||||
"type": "float"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -5,10 +5,7 @@
|
||||
"y": 0
|
||||
},
|
||||
"parameters": {
|
||||
"Size": 4,
|
||||
"shape": 0,
|
||||
"size": 6,
|
||||
"type": 1
|
||||
"size": 6
|
||||
},
|
||||
"shader_model": {
|
||||
"code": "",
|
||||
@ -25,12 +22,13 @@
|
||||
"name": "Generic Truchet",
|
||||
"outputs": [
|
||||
{
|
||||
"rgba": "$in(truchet_generic_uv($uv*$size, vec2($seed, $seed)))",
|
||||
"rgba": "$in(truchet_generic_uv($uv*$size, vec2(float($seed))))",
|
||||
"type": "rgba"
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"control": "None",
|
||||
"default": 4,
|
||||
"label": "Size",
|
||||
"max": 64,
|
||||
|
Loading…
Reference in New Issue
Block a user