54 lines
1018 B
JSON
54 lines
1018 B
JSON
{
|
|
"id": "pixelate",
|
|
"name": "Pixelate",
|
|
"description": "Reduces the effective X and Y pixel count independently to create a low-resolution blocky image.",
|
|
"category": "Transform",
|
|
"entryPoint": "shadeVideo",
|
|
"parameters": [
|
|
{
|
|
"id": "pixelCount",
|
|
"label": "Pixel Count",
|
|
"type": "vec2",
|
|
"default": [
|
|
96,
|
|
54
|
|
],
|
|
"min": [
|
|
2,
|
|
2
|
|
],
|
|
"max": [
|
|
1920,
|
|
1080
|
|
],
|
|
"step": [
|
|
1,
|
|
1
|
|
],
|
|
"description": "Number of pixel blocks across X and Y."
|
|
},
|
|
{
|
|
"id": "gridAmount",
|
|
"label": "Grid",
|
|
"type": "float",
|
|
"default": 0,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.01,
|
|
"description": "Visibility of the block grid lines."
|
|
},
|
|
{
|
|
"id": "gridColor",
|
|
"label": "Grid Color",
|
|
"type": "color",
|
|
"default": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"description": "Color used for the pixel grid."
|
|
}
|
|
]
|
|
}
|