{
    "targets": {
        "swap": {}
    },
    "passes": [
        {
            "vertex_shader": "minecraft:post/sobel",
            "fragment_shader": "minecraft:post/color_convolve",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "minecraft:main"
                }
            ],
            "output": "swap",
            "uniforms": [
                {
                    "name": "RedMatrix",
                    "type": "vec3",
                    "values": [ 0.0, 0.0, 0.0 ]
                },
                {
                    "name": "GreenMatrix",
                    "type": "vec3",
                    "values": [ 0.3, 0.59, 0.11 ]
                },
                {
                    "name": "BlueMatrix",
                    "type": "vec3",
                    "values": [ 0.0, 0.0, 0.0 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/sobel",
            "fragment_shader": "minecraft:post/bits",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "swap"
                }
            ],
            "output": "minecraft:main",
            "uniforms": [
                {
                    "name": "Resolution",
                    "type": "float",
                    "values": [ 16.0 ]
                },
                {
                    "name": "MosaicSize",
                    "type": "float",
                    "values": [ 4.0 ]
                }
            ]
        }
    ]
}
