description updates
This commit is contained in:
@@ -17,16 +17,30 @@
|
||||
"type": "text",
|
||||
"default": "VIDEO SHADER",
|
||||
"font": "roboto",
|
||||
"maxLength": 64
|
||||
"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, 0.0],
|
||||
"max": [1.0, 1.0],
|
||||
"step": [0.001, 0.001]
|
||||
"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",
|
||||
@@ -35,37 +49,52 @@
|
||||
"default": 0.42,
|
||||
"min": 0.1,
|
||||
"max": 3,
|
||||
"step": 0.01
|
||||
"step": 0.01,
|
||||
"description": "Text size multiplier."
|
||||
},
|
||||
{
|
||||
"id": "fillColor",
|
||||
"label": "Fill",
|
||||
"type": "color",
|
||||
"default": [1.0, 1.0, 1.0, 1.0]
|
||||
"default": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"description": "Main text fill color and alpha."
|
||||
},
|
||||
{
|
||||
"id": "outlineColor",
|
||||
"label": "Outline",
|
||||
"type": "color",
|
||||
"default": [0.0, 0.0, 0.0, 0.8]
|
||||
"default": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.8
|
||||
],
|
||||
"description": "Text outline color and alpha."
|
||||
},
|
||||
{
|
||||
"id": "outlineWidth",
|
||||
"label": "Outline Width",
|
||||
"type": "float",
|
||||
"default": 0.12,
|
||||
"min": 0.0,
|
||||
"min": 0,
|
||||
"max": 0.5,
|
||||
"step": 0.01
|
||||
"step": 0.01,
|
||||
"description": "Width of the SDF outline around the text."
|
||||
},
|
||||
{
|
||||
"id": "softness",
|
||||
"label": "Softness",
|
||||
"type": "float",
|
||||
"default": 0.04,
|
||||
"min": 0.0,
|
||||
"min": 0,
|
||||
"max": 0.3,
|
||||
"step": 0.01
|
||||
"step": 0.01,
|
||||
"description": "Smoothness of the SDF text edge."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user