156 lines
2.7 KiB
JSON
156 lines
2.7 KiB
JSON
|
|
{
|
||
|
|
"schema_version": 1,
|
||
|
|
"id": "com.hms.generator.checker_grid",
|
||
|
|
"name": "Checker Grid",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"api_version": 1,
|
||
|
|
"kind": "generator",
|
||
|
|
"vendor": "HMS",
|
||
|
|
"entrypoints": {
|
||
|
|
"d3d11": {
|
||
|
|
"type": "hlsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"pixel_shader": "shaders/d3d11/checker_grid.hlsl"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gl": {
|
||
|
|
"type": "glsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gl/checker_grid.frag"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gles": {
|
||
|
|
"type": "glsl_es_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gles/checker_grid.frag"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"capabilities": {
|
||
|
|
"minimum_tier": "DESKTOP_LITE",
|
||
|
|
"requires_input_texture": false,
|
||
|
|
"supported_backends": [
|
||
|
|
"d3d11",
|
||
|
|
"gl",
|
||
|
|
"gles"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"adaptive_quality": {
|
||
|
|
"default": "auto",
|
||
|
|
"variants": [
|
||
|
|
{
|
||
|
|
"id": "low",
|
||
|
|
"internal_scale": 0.5,
|
||
|
|
"samples": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "medium",
|
||
|
|
"internal_scale": 1.0,
|
||
|
|
"samples": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "high",
|
||
|
|
"internal_scale": 1.0,
|
||
|
|
"samples": 1
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"parameters": [
|
||
|
|
{
|
||
|
|
"id": "color_a",
|
||
|
|
"label": "Color A",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
1.0,
|
||
|
|
1.0,
|
||
|
|
1.0,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
1,
|
||
|
|
2,
|
||
|
|
3,
|
||
|
|
4
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "color_b",
|
||
|
|
"label": "Color B",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
0.0,
|
||
|
|
0.0,
|
||
|
|
0.0,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
5,
|
||
|
|
6,
|
||
|
|
7,
|
||
|
|
8
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "cell_size",
|
||
|
|
"label": "Cell Size",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.01,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.1,
|
||
|
|
"curve": "quadratic"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "line_width",
|
||
|
|
"label": "Line Width",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 0.5,
|
||
|
|
"default": 0.02,
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "offset_x",
|
||
|
|
"label": "Offset X",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": -1.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.0,
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "offset_y",
|
||
|
|
"label": "Offset Y",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": -1.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.0,
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "angle",
|
||
|
|
"label": "Angle",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 360.0,
|
||
|
|
"default": 0.0,
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "speed",
|
||
|
|
"label": "Speed",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": -2.0,
|
||
|
|
"maximum": 2.0,
|
||
|
|
"default": 0.5,
|
||
|
|
"curve": "linear"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"failure_mode": "bypass"
|
||
|
|
}
|