mame/bgfx/chains/lut.json

37 lines
611 B
JSON

{
"name": "3D LUT",
"author": "W. M. Martinez",
"targets": [
{
"name": "temp",
"mode": "guest"
}
],
"passes": [
{
"effect": "misc/blit",
"applytint": true,
"name": "Copy To Filtered Texture",
"input": [
{ "sampler": "s_tex", "texture": "screen" }
],
"output": "temp"
}, {
"effect": "misc/lut",
"name": "Apply LUT",
"input": [
{
"sampler": "s_tex",
"target": "temp"
}, {
"sampler": "s_3dlut",
"option": "bgfx_lut",
"bilinear": false,
"clamp": true,
"selection": "LUT Texture"
}
],
"output": "output"
}
]
}