mirror of
https://github.com/Relintai/mat_maker_gd.git
synced 2025-04-30 10:57:56 +02:00
42 lines
668 B
Plaintext
42 lines
668 B
Plaintext
{
|
|
"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"
|
|
} |