Files
video-shader-toys/shaders/waveform-overlay/shader.json
Aiden 0deef55974
Some checks failed
CI / Native Windows Build And Tests (push) Failing after 18s
CI / React UI Build (push) Has been cancelled
CI / Windows Release Package (push) Has been cancelled
Overlay shader
2026-05-04 13:20:12 +10:00

128 lines
2.5 KiB
JSON

{
"id": "waveform-overlay",
"name": "Waveform Overlay",
"description": "Draws a lightweight luma waveform overlay along the bottom of the video.",
"category": "Utility",
"entryPoint": "shadeVideo",
"textures": [
{
"id": "label0Texture",
"path": "0.png"
},
{
"id": "label25Texture",
"path": "25.png"
},
{
"id": "label50Texture",
"path": "50.png"
},
{
"id": "label75Texture",
"path": "75.png"
},
{
"id": "label100Texture",
"path": "100.png"
}
],
"parameters": [
{
"id": "overlayScale",
"label": "Overlay Scale",
"type": "float",
"default": 0.4,
"min": 0.1,
"max": 1.0,
"step": 0.01
},
{
"id": "overlayPosition",
"label": "Overlay Position",
"type": "vec2",
"default": [0.24, 0.76],
"min": [0.0, 0.0],
"max": [1.0, 1.0],
"step": [0.01, 0.01]
},
{
"id": "overlayPadding",
"label": "Overlay Padding",
"type": "float",
"default": 0.08,
"min": 0.0,
"max": 0.25,
"step": 0.01
},
{
"id": "waveformOpacity",
"label": "Waveform Opacity",
"type": "float",
"default": 0.75,
"min": 0.0,
"max": 1.0,
"step": 0.01
},
{
"id": "backgroundOpacity",
"label": "Background",
"type": "float",
"default": 0.75,
"min": 0.0,
"max": 1.0,
"step": 0.01
},
{
"id": "lineThickness",
"label": "Line Thickness",
"type": "float",
"default": 1.5,
"min": 0.5,
"max": 10.0,
"step": 0.1
},
{
"id": "gridOpacity",
"label": "Grid Opacity",
"type": "float",
"default": 1,
"min": 0.0,
"max": 1.0,
"step": 0.01
},
{
"id": "waveformSamples",
"label": "Waveform Samples",
"type": "float",
"default": 64.0,
"min": 8.0,
"max": 96.0,
"step": 1.0
},
{
"id": "waveformGain",
"label": "Waveform Gain",
"type": "float",
"default": 12.0,
"min": 1.0,
"max": 32.0,
"step": 0.5
},
{
"id": "waveformNoiseReduction",
"label": "Noise Reduction",
"type": "float",
"default": 0.08,
"min": 0.0,
"max": 0.6,
"step": 0.01
},
{
"id": "waveformColor",
"label": "Waveform Color",
"type": "color",
"default": [1.0, 1.0, 1.0, 1.0]
}
]
}