189 lines
3.2 KiB
JSON
189 lines
3.2 KiB
JSON
|
|
{
|
||
|
|
"schema_version": 1,
|
||
|
|
"id": "com.hms.generator.shapes",
|
||
|
|
"name": "Shapes",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"api_version": 1,
|
||
|
|
"kind": "generator",
|
||
|
|
"vendor": "HMS",
|
||
|
|
"entrypoints": {
|
||
|
|
"d3d11": {
|
||
|
|
"type": "hlsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"pixel_shader": "shaders/d3d11/shapes.hlsl"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gl": {
|
||
|
|
"type": "glsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gl/shapes.frag"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gles": {
|
||
|
|
"type": "glsl_es_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gles/shapes.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": 24
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "high",
|
||
|
|
"internal_scale": 1.0,
|
||
|
|
"samples": 64
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"transition_ms": 180,
|
||
|
|
"semantic_parameters_unchanged": [
|
||
|
|
"count",
|
||
|
|
"seed"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"parameters": [
|
||
|
|
{
|
||
|
|
"id": "form",
|
||
|
|
"label": "Form",
|
||
|
|
"type": "enum",
|
||
|
|
"values": [
|
||
|
|
"circle",
|
||
|
|
"rect",
|
||
|
|
"triangle",
|
||
|
|
"line",
|
||
|
|
"polygon"
|
||
|
|
],
|
||
|
|
"default": "circle",
|
||
|
|
"dmx_slots": [
|
||
|
|
1
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "count",
|
||
|
|
"label": "Count",
|
||
|
|
"type": "int",
|
||
|
|
"minimum": 1,
|
||
|
|
"maximum": 64,
|
||
|
|
"default": 24,
|
||
|
|
"dmx_slots": [
|
||
|
|
2
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "size",
|
||
|
|
"label": "Size",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.01,
|
||
|
|
"maximum": 0.5,
|
||
|
|
"default": 0.1,
|
||
|
|
"dmx_slots": [
|
||
|
|
3
|
||
|
|
],
|
||
|
|
"curve": "quadratic"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "rotation",
|
||
|
|
"label": "Rotation",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 6.2831853,
|
||
|
|
"default": 0.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
4
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "distribution",
|
||
|
|
"label": "Distribution",
|
||
|
|
"type": "enum",
|
||
|
|
"values": [
|
||
|
|
"grid",
|
||
|
|
"ring",
|
||
|
|
"random"
|
||
|
|
],
|
||
|
|
"default": "grid",
|
||
|
|
"dmx_slots": [
|
||
|
|
5
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "fill_stroke",
|
||
|
|
"label": "Fill/Stroke",
|
||
|
|
"type": "enum",
|
||
|
|
"values": [
|
||
|
|
"fill",
|
||
|
|
"stroke"
|
||
|
|
],
|
||
|
|
"default": "fill",
|
||
|
|
"dmx_slots": [
|
||
|
|
6
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "color_a",
|
||
|
|
"label": "Color A",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
1.0,
|
||
|
|
0.2,
|
||
|
|
0.2,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
7
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "color_b",
|
||
|
|
"label": "Color B",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
0.2,
|
||
|
|
0.2,
|
||
|
|
1.0,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
8
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "seed",
|
||
|
|
"label": "Seed",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 100.0,
|
||
|
|
"default": 1.0,
|
||
|
|
"curve": "linear"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"failure_mode": "bypass"
|
||
|
|
}
|