Files
video-shader-toys/shaders/greenscreen-key/shader.json
Aiden ce5905373a
Some checks failed
CI / Native Windows Build And Tests (push) Has been cancelled
CI / React UI Build (push) Has been cancelled
CI / Windows Release Package (push) Has been cancelled
Added new shaders
2026-05-05 22:36:52 +10:00

91 lines
1.8 KiB
JSON

{
"id": "greenscreen-key",
"name": "Greenscreen Key",
"description": "Keys out a green screen background and outputs transparent alpha for compositing.",
"category": "Keying",
"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
}
]
}