material-maker/addons/material_maker/nodes/decompose.mmg

58 lines
1.0 KiB
Plaintext
Raw Normal View History

2019-10-27 14:36:16 +01:00
{
"name": "decompose",
"node_position": {
"x": 0,
"y": 0
},
"parameters": {
},
"shader_model": {
2020-09-26 17:13:09 +02:00
"code": "",
2019-10-27 14:36:16 +01:00
"global": "",
"inputs": [
{
"default": "vec4(1.0)",
"label": "",
2020-09-26 17:13:09 +02:00
"longdesc": "The RGBA input image",
2019-10-27 14:36:16 +01:00
"name": "i",
2020-09-26 17:13:09 +02:00
"shortdesc": "Input",
2019-10-27 14:36:16 +01:00
"type": "rgba"
}
],
"instance": "",
2020-09-26 17:13:09 +02:00
"longdesc": "A node that decomposes an RGBA input into 4 greyscale images",
2019-10-27 14:36:16 +01:00
"name": "Decompose",
"outputs": [
{
2020-09-26 17:13:09 +02:00
"f": "$i($uv).r",
"longdesc": "Shows the Red channel of the input",
"shortdesc": "Red",
"type": "f"
2019-10-27 14:36:16 +01:00
},
{
2020-09-26 17:13:09 +02:00
"f": "$i($uv).g",
"longdesc": "Shows the Green channel of the input",
"shortdesc": "Green",
"type": "f"
2019-10-27 14:36:16 +01:00
},
{
2020-09-26 17:13:09 +02:00
"f": "$i($uv).b",
"longdesc": "Shows the Blue channel of the input",
"shortdesc": "Blue",
"type": "f"
2019-10-27 14:36:16 +01:00
},
{
2020-09-26 17:13:09 +02:00
"f": "$i($uv).a",
"longdesc": "Shows the Alpha channel of the input",
"shortdesc": "Alpha",
"type": "f"
2019-10-27 14:36:16 +01:00
}
],
"parameters": [
2020-09-26 17:13:09 +02:00
],
"shortdesc": "Decompose"
},
"type": "shader"
2019-10-27 14:36:16 +01:00
}