Files
video-shader-toys/shaders/text-overlay/shader.json
Aiden a0cc86f189
All checks were successful
CI / React UI Build (push) Successful in 10s
CI / Native Windows Build And Tests (push) Successful in 2m20s
CI / Windows Release Package (push) Successful in 2m28s
description updates
2026-05-08 18:11:26 +10:00

101 lines
2.0 KiB
JSON

{
"id": "text-overlay",
"name": "Text Overlay",
"description": "Single-line live text overlay using the runtime text SDF helper functions.",
"category": "Scopes & Guides",
"entryPoint": "shadeVideo",
"fonts": [
{
"id": "roboto",
"path": "fonts/Roboto-Regular.ttf"
}
],
"parameters": [
{
"id": "titleText",
"label": "Text",
"type": "text",
"default": "VIDEO SHADER",
"font": "roboto",
"maxLength": 64,
"description": "Text string rendered into the SDF text texture."
},
{
"id": "position",
"label": "Position",
"type": "vec2",
"default": [
0.08,
0.12
],
"min": [
0,
0
],
"max": [
1,
1
],
"step": [
0.001,
0.001
],
"description": "Normalized placement of the text block in the frame."
},
{
"id": "scale",
"label": "Scale",
"type": "float",
"default": 0.42,
"min": 0.1,
"max": 3,
"step": 0.01,
"description": "Text size multiplier."
},
{
"id": "fillColor",
"label": "Fill",
"type": "color",
"default": [
1,
1,
1,
1
],
"description": "Main text fill color and alpha."
},
{
"id": "outlineColor",
"label": "Outline",
"type": "color",
"default": [
0,
0,
0,
0.8
],
"description": "Text outline color and alpha."
},
{
"id": "outlineWidth",
"label": "Outline Width",
"type": "float",
"default": 0.12,
"min": 0,
"max": 0.5,
"step": 0.01,
"description": "Width of the SDF outline around the text."
},
{
"id": "softness",
"label": "Softness",
"type": "float",
"default": 0.04,
"min": 0,
"max": 0.3,
"step": 0.01,
"description": "Smoothness of the SDF text edge."
}
]
}