44 lines
935 B
JSON
44 lines
935 B
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.0,
|
|
"min": 0.0,
|
|
"max": 1.0,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "scale",
|
|
"label": "Scale",
|
|
"type": "float",
|
|
"default": 10.0,
|
|
"min": 2.0,
|
|
"max": 32.0,
|
|
"step": 1.0
|
|
}
|
|
]
|
|
}
|