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

42 lines
668 B
Plaintext
Raw Normal View History

{
"name": "uniform_greyscale",
"node_position": {
"x": 0,
"y": 0
},
"parameters": {
"color": 0.5
},
"shader_model": {
"code": "",
"global": "",
"inputs": [
],
"instance": "",
"name": "Greyscale Uniform",
"outputs": [
{
"f": "$(color)",
"longdesc": "A uniform image of the selected value",
"shortdesc": "Output",
"type": "f"
}
],
"parameters": [
{
"control": "None",
"default": 0.5,
"label": "",
"longdesc": "The value of the uniform greyscale image",
"max": 1,
"min": 0,
"name": "color",
"shortdesc": "Value",
"step": 0.01,
"type": "float"
}
]
},
"type": "shader"
}