LUT interpolation
This commit is contained in:
48
shaders/lut-apply/shader.json
Normal file
48
shaders/lut-apply/shader.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "lut-apply",
|
||||
"name": "3D LUT Apply",
|
||||
"description": "Applies the packaged 33-point .cube LUT to the incoming video using trilinear interpolation.",
|
||||
"category": "Color",
|
||||
"entryPoint": "shadeVideo",
|
||||
"textures": [
|
||||
{
|
||||
"id": "lutTexture",
|
||||
"path": "test-lut.cube"
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"id": "lutStrength",
|
||||
"label": "LUT Strength",
|
||||
"type": "float",
|
||||
"default": 1.0,
|
||||
"min": 0.0,
|
||||
"max": 1.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "preExposure",
|
||||
"label": "Pre Exposure",
|
||||
"type": "float",
|
||||
"default": 0.0,
|
||||
"min": -4.0,
|
||||
"max": 4.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "postContrast",
|
||||
"label": "Post Contrast",
|
||||
"type": "float",
|
||||
"default": 1.0,
|
||||
"min": 0.0,
|
||||
"max": 2.0,
|
||||
"step": 0.01
|
||||
},
|
||||
{
|
||||
"id": "clampInput",
|
||||
"label": "Clamp Input",
|
||||
"type": "bool",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user