minecraft-src/assets/minecraft/shaders/post/invert.json
2025-07-04 02:00:41 +03:00

13 lines
607 B
JSON

{
"vertex": "minecraft:post/blit",
"fragment": "minecraft:post/invert",
"samplers": [
{ "name": "InSampler" }
],
"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": "InSize", "type": "float", "count": 2, "values": [ 1.0, 1.0 ] },
{ "name": "OutSize", "type": "float", "count": 2, "values": [ 1.0, 1.0 ] },
{ "name": "InverseAmount", "type": "float", "count": 1, "values": [ 0.0 ] }
]
}