minecraft-assets/assets/minecraft/shaders/program/fxaa.json

21 lines
797 B
JSON

{
"blend": {
"func": "add",
"srcrgb": "one",
"dstrgb": "zero"
},
"vertex": "fxaa",
"fragment": "fxaa",
"attributes": [ "Position" ],
"samplers": [
{ "name": "DiffuseSampler" }
],
"uniforms": [
{ "name": "ProjMat", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ] },
{ "name": "OutSize", "type": "float", "count": 2, "values": [ 1.0, 1.0 ] },
{ "name": "SpanMax", "type": "float", "count": 1, "values": [ 8.0 ] },
{ "name": "SubPixelShift", "type": "float", "count": 1, "values": [ 0.25 ] },
{ "name": "ReduceMul", "type": "float", "count": 1, "values": [ 0.125 ] }
]
}