Multi pass test
This commit is contained in:
43
shaders/multipass-test/shader.json
Normal file
43
shaders/multipass-test/shader.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user