191 lines
3.3 KiB
JSON
191 lines
3.3 KiB
JSON
|
|
{
|
||
|
|
"schema_version": 1,
|
||
|
|
"id": "com.hms.generator.starfield",
|
||
|
|
"name": "Starfield",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"api_version": 1,
|
||
|
|
"kind": "generator",
|
||
|
|
"vendor": "HMS",
|
||
|
|
"entrypoints": {
|
||
|
|
"d3d11": {
|
||
|
|
"type": "hlsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"pixel_shader": "shaders/d3d11/starfield.hlsl"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gl": {
|
||
|
|
"type": "glsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gl/starfield.frag"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gles": {
|
||
|
|
"type": "glsl_es_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gles/starfield.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": 32
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "medium",
|
||
|
|
"internal_scale": 0.75,
|
||
|
|
"samples": 128
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "high",
|
||
|
|
"internal_scale": 1.0,
|
||
|
|
"samples": 512
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"transition_ms": 180,
|
||
|
|
"semantic_parameters_unchanged": [
|
||
|
|
"count",
|
||
|
|
"seed"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"parameters": [
|
||
|
|
{
|
||
|
|
"id": "color_a",
|
||
|
|
"label": "Color A",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
1.0,
|
||
|
|
1.0,
|
||
|
|
1.0,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
1
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "color_b",
|
||
|
|
"label": "Color B",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
0.4,
|
||
|
|
0.6,
|
||
|
|
1.0,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
2
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "count",
|
||
|
|
"label": "Count",
|
||
|
|
"type": "int",
|
||
|
|
"minimum": 1,
|
||
|
|
"maximum": 512,
|
||
|
|
"default": 128,
|
||
|
|
"dmx_slots": [
|
||
|
|
3
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "size",
|
||
|
|
"label": "Size",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.001,
|
||
|
|
"maximum": 0.05,
|
||
|
|
"default": 0.01,
|
||
|
|
"dmx_slots": [
|
||
|
|
4
|
||
|
|
],
|
||
|
|
"curve": "quadratic"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "speed",
|
||
|
|
"label": "Speed",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 4.0,
|
||
|
|
"default": 1.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
5
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "direction_x",
|
||
|
|
"label": "Direction X",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": -1.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
6
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "direction_y",
|
||
|
|
"label": "Direction Y",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": -1.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": -1.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
7
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "depth",
|
||
|
|
"label": "Depth",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.5,
|
||
|
|
"dmx_slots": [
|
||
|
|
8
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "twinkle",
|
||
|
|
"label": "Twinkle",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.5,
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "seed",
|
||
|
|
"label": "Seed",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 100.0,
|
||
|
|
"default": 1.0,
|
||
|
|
"curve": "linear"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"failure_mode": "bypass"
|
||
|
|
}
|