Files
video-shader-toys/shaders/video-transform/shader.json
Aiden 0560ea3c49
Some checks failed
CI / Native Windows Build And Tests (push) Failing after 7s
CI / React UI Build (push) Has been cancelled
CI / Windows Release Package (push) Has been cancelled
osc multi arguments
2026-05-03 14:51:57 +10:00

55 lines
1.2 KiB
JSON

{
"id": "video-transform",
"name": "Video Transform",
"description": "Zooms, pans, and rotates the video by remapping output pixels back into source UV space.",
"category": "Utility",
"entryPoint": "shadeVideo",
"parameters": [
{
"id": "zoom",
"label": "Zoom",
"type": "float",
"default": 1.0,
"min": 0.1,
"max": 8.0,
"step": 0.01
},
{
"id": "pan",
"label": "Pan",
"type": "vec2",
"default": [0.0, 0.0],
"min": [-1.0, -1.0],
"max": [1.0, 1.0],
"step": [0.001, 0.001]
},
{
"id": "rotationDegrees",
"label": "Rotation",
"type": "float",
"default": 0.0,
"min": -180.0,
"max": 180.0,
"step": 0.1
},
{
"id": "edgeMode",
"label": "Edge Mode",
"type": "enum",
"default": "black",
"options": [
{ "value": "black", "label": "Black" },
{ "value": "clamp", "label": "Clamp" },
{ "value": "wrap", "label": "Wrap" },
{ "value": "mirror", "label": "Mirror" }
]
},
{
"id": "outsideColor",
"label": "Outside Color",
"type": "color",
"default": [0.0, 0.0, 0.0, 1.0]
}
]
}