Added trigger
This commit is contained in:
59
shaders/trigger-ripple/shader.json
Normal file
59
shaders/trigger-ripple/shader.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"id": "trigger-ripple",
|
||||
"name": "Trigger Ripple",
|
||||
"description": "A water-drop style ripple that expands across the video whenever the trigger is pressed.",
|
||||
"category": "Utility",
|
||||
"entryPoint": "shadeVideo",
|
||||
"parameters": [
|
||||
{
|
||||
"id": "drop",
|
||||
"label": "Drop",
|
||||
"type": "trigger"
|
||||
},
|
||||
{
|
||||
"id": "center",
|
||||
"label": "Center",
|
||||
"type": "vec2",
|
||||
"default": [0.5, 0.5],
|
||||
"min": [0.0, 0.0],
|
||||
"max": [1.0, 1.0],
|
||||
"step": [0.01, 0.01]
|
||||
},
|
||||
{
|
||||
"id": "strength",
|
||||
"label": "Strength",
|
||||
"type": "float",
|
||||
"default": 0.12,
|
||||
"min": 0.0,
|
||||
"max": 0.3,
|
||||
"step": 0.001
|
||||
},
|
||||
{
|
||||
"id": "speed",
|
||||
"label": "Duration",
|
||||
"type": "float",
|
||||
"default": 0.3,
|
||||
"min": 0.3,
|
||||
"max": 5.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "width",
|
||||
"label": "Wave Width",
|
||||
"type": "float",
|
||||
"default": 0.09,
|
||||
"min": 0.01,
|
||||
"max": 0.25,
|
||||
"step": 0.001
|
||||
},
|
||||
{
|
||||
"id": "damping",
|
||||
"label": "Damping",
|
||||
"type": "float",
|
||||
"default": 0.25,
|
||||
"min": 0.05,
|
||||
"max": 3.0,
|
||||
"step": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user