Files
hms-mediaengine/plugins/builtin/generators/com.hms.generator.plasma/plugin.json
T

183 lines
3.1 KiB
JSON
Raw Normal View History

{
"schema_version": 1,
"id": "com.hms.generator.plasma",
"name": "Plasma",
"version": "1.0.0",
"api_version": 1,
"kind": "generator",
"vendor": "HMS",
"entrypoints": {
"d3d11": {
"type": "hlsl_singlepass",
"passes": [
{
"pixel_shader": "shaders/d3d11/plasma.hlsl"
}
]
},
"gl": {
"type": "glsl_singlepass",
"passes": [
{
"fragment": "shaders/gl/plasma.frag"
}
]
},
"gles": {
"type": "glsl_es_singlepass",
"passes": [
{
"fragment": "shaders/gles/plasma.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": 3
},
{
"id": "medium",
"internal_scale": 0.75,
"samples": 5
},
{
"id": "high",
"internal_scale": 1.0,
"samples": 8
}
],
"transition_ms": 180,
"semantic_parameters_unchanged": [
"scale",
"phase",
"seed"
]
},
"parameters": [
{
"id": "color_a",
"label": "Color A",
"type": "color",
"default": [
1.0,
0.1,
0.2,
1.0
],
"dmx_slots": [
1
]
},
{
"id": "color_b",
"label": "Color B",
"type": "color",
"default": [
0.1,
0.3,
1.0,
1.0
],
"dmx_slots": [
2
]
},
{
"id": "scale",
"label": "Scale",
"type": "float",
"minimum": 0.5,
"maximum": 8.0,
"default": 2.0,
"dmx_slots": [
3
],
"curve": "quadratic"
},
{
"id": "stretch_x",
"label": "Stretch X",
"type": "float",
"minimum": 0.1,
"maximum": 4.0,
"default": 1.0,
"dmx_slots": [
4
],
"curve": "linear"
},
{
"id": "stretch_y",
"label": "Stretch Y",
"type": "float",
"minimum": 0.1,
"maximum": 4.0,
"default": 1.0,
"dmx_slots": [
5
],
"curve": "linear"
},
{
"id": "distance",
"label": "Distance",
"type": "float",
"minimum": 0.0,
"maximum": 4.0,
"default": 1.0,
"dmx_slots": [
6
],
"curve": "linear"
},
{
"id": "phase",
"label": "Phase",
"type": "float",
"minimum": 0.0,
"maximum": 6.2831853,
"default": 0.0,
"dmx_slots": [
7
],
"curve": "linear"
},
{
"id": "speed",
"label": "Speed",
"type": "float",
"minimum": 0.0,
"maximum": 4.0,
"default": 1.0,
"dmx_slots": [
8
],
"curve": "linear"
},
{
"id": "seed",
"label": "Seed",
"type": "float",
"minimum": 0.0,
"maximum": 100.0,
"default": 1.0,
"curve": "linear"
}
],
"failure_mode": "bypass"
}