185 lines
3.2 KiB
JSON
185 lines
3.2 KiB
JSON
|
|
{
|
||
|
|
"schema_version": 1,
|
||
|
|
"id": "com.hms.generator.wave_bars",
|
||
|
|
"name": "Wave Bars",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"api_version": 1,
|
||
|
|
"kind": "generator",
|
||
|
|
"vendor": "HMS",
|
||
|
|
"entrypoints": {
|
||
|
|
"d3d11": {
|
||
|
|
"type": "hlsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"pixel_shader": "shaders/d3d11/wave_bars.hlsl"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gl": {
|
||
|
|
"type": "glsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gl/wave_bars.frag"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gles": {
|
||
|
|
"type": "glsl_es_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gles/wave_bars.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": 8
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "medium",
|
||
|
|
"internal_scale": 0.75,
|
||
|
|
"samples": 16
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "high",
|
||
|
|
"internal_scale": 1.0,
|
||
|
|
"samples": 32
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"transition_ms": 180,
|
||
|
|
"semantic_parameters_unchanged": [
|
||
|
|
"count",
|
||
|
|
"phase"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"parameters": [
|
||
|
|
{
|
||
|
|
"id": "color_a",
|
||
|
|
"label": "Color A",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
1.0,
|
||
|
|
0.6,
|
||
|
|
0.1,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
1
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "color_b",
|
||
|
|
"label": "Color B",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
0.1,
|
||
|
|
0.2,
|
||
|
|
1.0,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
2
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "waveform",
|
||
|
|
"label": "Waveform",
|
||
|
|
"type": "enum",
|
||
|
|
"values": [
|
||
|
|
"sine",
|
||
|
|
"triangle",
|
||
|
|
"saw",
|
||
|
|
"square"
|
||
|
|
],
|
||
|
|
"default": "sine",
|
||
|
|
"dmx_slots": [
|
||
|
|
3
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "count",
|
||
|
|
"label": "Count",
|
||
|
|
"type": "int",
|
||
|
|
"minimum": 1,
|
||
|
|
"maximum": 64,
|
||
|
|
"default": 16,
|
||
|
|
"dmx_slots": [
|
||
|
|
4
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "amplitude",
|
||
|
|
"label": "Amplitude",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.5,
|
||
|
|
"dmx_slots": [
|
||
|
|
5
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "frequency",
|
||
|
|
"label": "Frequency",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.5,
|
||
|
|
"maximum": 8.0,
|
||
|
|
"default": 2.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
6
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "angle",
|
||
|
|
"label": "Angle",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 6.2831853,
|
||
|
|
"default": 0.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
7
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "phase",
|
||
|
|
"label": "Phase",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 6.2831853,
|
||
|
|
"default": 0.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
8
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "speed",
|
||
|
|
"label": "Speed",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 4.0,
|
||
|
|
"default": 1.0,
|
||
|
|
"curve": "linear"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"failure_mode": "bypass"
|
||
|
|
}
|