mirror of
https://github.com/Relintai/mat_maker_gd.git
synced 2025-04-30 10:57:56 +02:00
40 lines
514 B
Plaintext
40 lines
514 B
Plaintext
{
|
|
"name": "compare",
|
|
"node_position": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"parameters": {
|
|
|
|
},
|
|
"shader_model": {
|
|
"code": "",
|
|
"global": "",
|
|
"inputs": [
|
|
{
|
|
"default": "0.0",
|
|
"label": "",
|
|
"name": "in1",
|
|
"type": "rgba"
|
|
},
|
|
{
|
|
"default": "0.0",
|
|
"label": "",
|
|
"name": "in2",
|
|
"type": "rgba"
|
|
}
|
|
],
|
|
"instance": "",
|
|
"name": "Compare",
|
|
"outputs": [
|
|
{
|
|
"f": "dot(abs($in1($uv)-$in2($uv)), vec4(1.0))",
|
|
"type": "f"
|
|
}
|
|
],
|
|
"parameters": [
|
|
|
|
]
|
|
},
|
|
"type": "shader"
|
|
} |