2019-10-27 14:36:16 +01:00
|
|
|
{
|
|
|
|
"name": "uniform",
|
|
|
|
"node_position": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"parameters": {
|
|
|
|
"color": {
|
|
|
|
"a": 1,
|
|
|
|
"b": 1,
|
2020-08-20 22:20:51 +02:00
|
|
|
"g": 0.415686,
|
|
|
|
"r": 0,
|
2019-10-27 14:36:16 +01:00
|
|
|
"type": "Color"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"shader_model": {
|
2020-08-20 22:20:51 +02:00
|
|
|
"code": "",
|
2019-10-27 14:36:16 +01:00
|
|
|
"global": "",
|
2020-08-20 22:20:51 +02:00
|
|
|
"inputs": [
|
|
|
|
|
|
|
|
],
|
2019-10-27 14:36:16 +01:00
|
|
|
"instance": "",
|
|
|
|
"name": "Uniform",
|
|
|
|
"outputs": [
|
|
|
|
{
|
2020-08-20 22:20:51 +02:00
|
|
|
"longdesc": "A uniform image of the selected color",
|
|
|
|
"rgba": "$(color)",
|
|
|
|
"shortdesc": "Output",
|
|
|
|
"type": "rgba"
|
2019-10-27 14:36:16 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"default": {
|
|
|
|
"a": 1,
|
|
|
|
"b": 1,
|
|
|
|
"g": 1,
|
|
|
|
"r": 1
|
|
|
|
},
|
|
|
|
"label": "",
|
2020-08-20 22:20:51 +02:00
|
|
|
"longdesc": "Color of the uniform image",
|
2019-10-27 14:36:16 +01:00
|
|
|
"name": "color",
|
2020-08-20 22:20:51 +02:00
|
|
|
"shortdesc": "Color",
|
2019-10-27 14:36:16 +01:00
|
|
|
"type": "color"
|
|
|
|
}
|
|
|
|
]
|
2020-08-20 22:20:51 +02:00
|
|
|
},
|
|
|
|
"type": "shader"
|
2019-10-27 14:36:16 +01:00
|
|
|
}
|