f37812be3e
I may have got a bit behind with version control. A lot behind, in fact. Maybe I'll go back and split this sometime - then again, I probably won't. But hey, at least it's here!
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"targets": [
|
|
"swap",
|
|
"previous",
|
|
"a",
|
|
"b"
|
|
],
|
|
"passes": [
|
|
{
|
|
"name": "color_convolve",
|
|
"intarget": "minecraft:main",
|
|
"outtarget": "a",
|
|
"uniforms": [
|
|
{
|
|
"name": "Saturation",
|
|
"values": [ 0.3 ]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "color_convolve",
|
|
"intarget": "a",
|
|
"outtarget": "b",
|
|
"uniforms": [
|
|
{
|
|
"name": "RedMatrix",
|
|
"values": [ 0.3, 0, 0 ]
|
|
},
|
|
{
|
|
"name": "GreenMatrix",
|
|
"values": [ 0.3, 0.6, 0.3 ]
|
|
},
|
|
{
|
|
"name": "BlueMatrix",
|
|
"values": [ 0.2, 0.2, 0.5 ]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "phosphor",
|
|
"intarget": "b",
|
|
"outtarget": "swap",
|
|
"auxtargets": [
|
|
{
|
|
"name": "PrevSampler",
|
|
"id": "previous"
|
|
}
|
|
],
|
|
"uniforms": [
|
|
{
|
|
"name": "Phosphor",
|
|
"values": [ 0.8, 0.8, 0.8 ]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "blit",
|
|
"intarget": "swap",
|
|
"outtarget": "previous"
|
|
},
|
|
{
|
|
"name": "blit",
|
|
"intarget": "swap",
|
|
"outtarget": "minecraft:main"
|
|
}
|
|
]
|
|
}
|