182 lines
3.2 KiB
JSON
182 lines
3.2 KiB
JSON
|
|
{
|
||
|
|
"schema_version": 1,
|
||
|
|
"id": "com.hms.generator.drops_ripples",
|
||
|
|
"name": "Drops & Ripples",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"api_version": 1,
|
||
|
|
"kind": "generator",
|
||
|
|
"vendor": "HMS",
|
||
|
|
"entrypoints": {
|
||
|
|
"d3d11": {
|
||
|
|
"type": "hlsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"pixel_shader": "shaders/d3d11/drops_ripples.hlsl"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gl": {
|
||
|
|
"type": "glsl_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gl/drops_ripples.frag"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"gles": {
|
||
|
|
"type": "glsl_es_singlepass",
|
||
|
|
"passes": [
|
||
|
|
{
|
||
|
|
"fragment": "shaders/gles/drops_ripples.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": [
|
||
|
|
"density",
|
||
|
|
"seed"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"parameters": [
|
||
|
|
{
|
||
|
|
"id": "color_a",
|
||
|
|
"label": "Color A",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
0.2,
|
||
|
|
0.8,
|
||
|
|
1.0,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
1
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "color_b",
|
||
|
|
"label": "Color B",
|
||
|
|
"type": "color",
|
||
|
|
"default": [
|
||
|
|
1.0,
|
||
|
|
0.4,
|
||
|
|
0.2,
|
||
|
|
1.0
|
||
|
|
],
|
||
|
|
"dmx_slots": [
|
||
|
|
2
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "density",
|
||
|
|
"label": "Density",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 1.0,
|
||
|
|
"default": 0.5,
|
||
|
|
"dmx_slots": [
|
||
|
|
3
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "size",
|
||
|
|
"label": "Size",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.01,
|
||
|
|
"maximum": 0.3,
|
||
|
|
"default": 0.05,
|
||
|
|
"dmx_slots": [
|
||
|
|
4
|
||
|
|
],
|
||
|
|
"curve": "quadratic"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "lifetime",
|
||
|
|
"label": "Lifetime",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.1,
|
||
|
|
"maximum": 4.0,
|
||
|
|
"default": 1.5,
|
||
|
|
"dmx_slots": [
|
||
|
|
5
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "speed",
|
||
|
|
"label": "Speed",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 4.0,
|
||
|
|
"default": 1.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
6
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "ripple_width",
|
||
|
|
"label": "Ripple Width",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.5,
|
||
|
|
"maximum": 20.0,
|
||
|
|
"default": 6.0,
|
||
|
|
"dmx_slots": [
|
||
|
|
7
|
||
|
|
],
|
||
|
|
"curve": "linear"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "direction",
|
||
|
|
"label": "Direction",
|
||
|
|
"type": "float",
|
||
|
|
"minimum": 0.0,
|
||
|
|
"maximum": 6.2831853,
|
||
|
|
"default": 0.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"
|
||
|
|
}
|