Added green screen

This commit is contained in:
2026-05-02 20:24:40 +10:00
parent 4308e0b6f6
commit be16b03024
4 changed files with 133 additions and 3 deletions

View File

@@ -0,0 +1,90 @@
{
"id": "greenscreen-key",
"name": "Greenscreen Key",
"description": "Keys out a green screen background and outputs transparent alpha for compositing.",
"category": "Built-in",
"entryPoint": "shadeVideo",
"parameters": [
{
"id": "screenColor",
"label": "Screen Color",
"type": "color",
"default": [0.15, 0.85, 0.2, 1.0],
"min": [0.0, 0.0, 0.0, 0.0],
"max": [1.0, 1.0, 1.0, 1.0],
"step": [0.01, 0.01, 0.01, 0.01]
},
{
"id": "threshold",
"label": "Threshold",
"type": "float",
"default": 0.24,
"min": 0.01,
"max": 0.8,
"step": 0.005
},
{
"id": "softness",
"label": "Softness",
"type": "float",
"default": 0.12,
"min": 0.001,
"max": 0.5,
"step": 0.005
},
{
"id": "edgeSoftness",
"label": "Edge Softness",
"type": "float",
"default": 0.08,
"min": 0.0,
"max": 0.4,
"step": 0.005
},
{
"id": "erodeDilate",
"label": "Erode/Dilate",
"type": "float",
"default": 0.0,
"min": -0.3,
"max": 0.3,
"step": 0.005
},
{
"id": "despill",
"label": "Despill",
"type": "float",
"default": 0.45,
"min": 0.0,
"max": 1.5,
"step": 0.01
},
{
"id": "edgeBoost",
"label": "Edge Boost",
"type": "float",
"default": 0.08,
"min": -0.2,
"max": 0.3,
"step": 0.005
},
{
"id": "clipBlack",
"label": "Clip Black",
"type": "float",
"default": 0.0,
"min": 0.0,
"max": 0.5,
"step": 0.005
},
{
"id": "clipWhite",
"label": "Clip White",
"type": "float",
"default": 1.0,
"min": 0.5,
"max": 1.0,
"step": 0.005
}
]
}