50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"id": "multipass-test",
|
|
"name": "Multipass Test",
|
|
"description": "Diagnostic two-pass shader that generates a mask in pass one, then samples that named intermediate in pass two.",
|
|
"category": "Utility",
|
|
"entryPoint": "shadeVideo",
|
|
"passes": [
|
|
{
|
|
"id": "mask",
|
|
"source": "shader.slang",
|
|
"entryPoint": "buildMask",
|
|
"inputs": [
|
|
"layerInput"
|
|
],
|
|
"output": "generatedMask"
|
|
},
|
|
{
|
|
"id": "final",
|
|
"source": "shader.slang",
|
|
"entryPoint": "applyMask",
|
|
"inputs": [
|
|
"generatedMask"
|
|
],
|
|
"output": "layerOutput"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": "intensity",
|
|
"label": "Intensity",
|
|
"type": "float",
|
|
"default": 1,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.01,
|
|
"description": "Opacity of the second-pass diagnostic overlay."
|
|
},
|
|
{
|
|
"id": "scale",
|
|
"label": "Scale",
|
|
"type": "float",
|
|
"default": 10,
|
|
"min": 2,
|
|
"max": 32,
|
|
"step": 1,
|
|
"description": "Size of the generated test pattern."
|
|
}
|
|
]
|
|
}
|