summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/chains/lut.json
blob: 6143410f009007334362bfa9fe8700ef9e20d1a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
	"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"
		}
	]
}