Example shaders
This commit is contained in:
51
shaders/waveform-overlay/shader.json
Normal file
51
shaders/waveform-overlay/shader.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"id": "waveform-overlay",
|
||||
"name": "Waveform Overlay",
|
||||
"description": "Draws a lightweight luma waveform overlay along the bottom of the video.",
|
||||
"category": "Utility",
|
||||
"entryPoint": "shadeVideo",
|
||||
"parameters": [
|
||||
{
|
||||
"id": "overlayHeight",
|
||||
"label": "Overlay Height",
|
||||
"type": "float",
|
||||
"default": 0.32,
|
||||
"min": 0.1,
|
||||
"max": 1.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "waveformOpacity",
|
||||
"label": "Waveform Opacity",
|
||||
"type": "float",
|
||||
"default": 0.8,
|
||||
"min": 0.0,
|
||||
"max": 1.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "backgroundOpacity",
|
||||
"label": "Background",
|
||||
"type": "float",
|
||||
"default": 0.35,
|
||||
"min": 0.0,
|
||||
"max": 1.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "lineThickness",
|
||||
"label": "Line Thickness",
|
||||
"type": "float",
|
||||
"default": 2.0,
|
||||
"min": 0.5,
|
||||
"max": 10.0,
|
||||
"step": 0.1
|
||||
},
|
||||
{
|
||||
"id": "waveformColor",
|
||||
"label": "Waveform Color",
|
||||
"type": "color",
|
||||
"default": [0.2, 1.0, 0.65, 1.0]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user