Working
This commit is contained in:
45
shaders/video-cube/shader.json
Normal file
45
shaders/video-cube/shader.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "video-cube",
|
||||
"name": "Video Cube",
|
||||
"description": "Maps the live video onto the faces of a rotating cube in screen space.",
|
||||
"category": "Built-in",
|
||||
"entryPoint": "shadeVideo",
|
||||
"parameters": [
|
||||
{
|
||||
"id": "spinSpeed",
|
||||
"label": "Spin Speed",
|
||||
"type": "float",
|
||||
"default": 1.0,
|
||||
"min": 0.0,
|
||||
"max": 4.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "cubeScale",
|
||||
"label": "Cube Scale",
|
||||
"type": "float",
|
||||
"default": 0.85,
|
||||
"min": 0.3,
|
||||
"max": 1.4,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "faceZoom",
|
||||
"label": "Face Zoom",
|
||||
"type": "float",
|
||||
"default": 1.0,
|
||||
"min": 0.5,
|
||||
"max": 2.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "backgroundMix",
|
||||
"label": "Background Mix",
|
||||
"type": "float",
|
||||
"default": 0.15,
|
||||
"min": 0.0,
|
||||
"max": 1.0,
|
||||
"step": 0.01
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user