{
    "targets": {
        "large_blur": {},
        "small_blur": {},
        "temp": {},
        "swap": {}
    },
    "passes": [
        {
            "vertex_shader": "minecraft:post/blur",
            "fragment_shader": "minecraft:post/box_blur",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "minecraft:main",
                    "bilinear": true
                }
            ],
            "output": "temp",
            "uniforms": [
                {
                    "name": "BlurDir",
                    "type": "vec2",
                    "values": [ 1.0, 0.0 ]
                },
                {
                    "name": "Radius",
                    "type": "float",
                    "values": [ 15.0 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/blur",
            "fragment_shader": "minecraft:post/box_blur",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "temp",
                    "bilinear": true
                }
            ],
            "output": "large_blur",
            "uniforms": [
                {
                    "name": "BlurDir",
                    "type": "vec2",
                    "values": [ 0.0, 1.0 ]
                },
                {
                    "name": "Radius",
                    "type": "float",
                    "values": [ 15.0 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/blur",
            "fragment_shader": "minecraft:post/box_blur",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "minecraft:main",
                    "bilinear": true
                }
            ],
            "output": "temp",
            "uniforms": [
                {
                    "name": "BlurDir",
                    "type": "vec2",
                    "values": [ 1.0, 0.0 ]
                },
                {
                    "name": "Radius",
                    "type": "float",
                    "values": [ 7.0 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/blur",
            "fragment_shader": "minecraft:post/box_blur",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "temp",
                    "bilinear": true
                }
            ],
            "output": "small_blur",
            "uniforms": [
                {
                    "name": "BlurDir",
                    "type": "vec2",
                    "values": [ 0.0, 1.0 ]
                },
                {
                    "name": "Radius",
                    "type": "float",
                    "values": [ 7.0 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/rotscale",
            "fragment_shader": "minecraft:post/spiderclip",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "minecraft:main"
                },
                {
                    "sampler_name": "Blur",
                    "target": "large_blur"
                }
            ],
            "output": "temp",
            "uniforms": [
                {
                    "name": "InScale",
                    "type": "vec2",
                    "values": [ 1.25, 2.0 ]
                },
                {
                    "name": "InOffset",
                    "type": "vec2",
                    "values": [ -0.125, -0.1 ]
                },
                {
                    "name": "InRotation",
                    "type": "float",
                    "values": [ 0 ]
                },
                {
                    "name": "Scissor",
                    "type": "vec4",
                    "values": [ 0.0, 0.0, 1.0, 1.0 ]
                },
                {
                    "name": "Vignette",
                    "type": "vec4",
                    "values": [ 0.1, 0.1, 0.9, 0.9 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/rotscale",
            "fragment_shader": "minecraft:post/spiderclip",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "small_blur"
                },
                {
                    "sampler_name": "Blur",
                    "target": "temp"
                }
            ],
            "output": "swap",
            "uniforms": [
                {
                    "name": "InScale",
                    "type": "vec2",
                    "values": [ 2.35, 4.2 ]
                },
                {
                    "name": "InOffset",
                    "type": "vec2",
                    "values": [ -1.1, -1.5 ]
                },
                {
                    "name": "InRotation",
                    "type": "float",
                    "values": [ -45.0 ]
                },
                {
                    "name": "Scissor",
                    "type": "vec4",
                    "values": [ 0.21, 0.0, 0.79, 1.0 ]
                },
                {
                    "name": "Vignette",
                    "type": "vec4",
                    "values": [ 0.31, 0.1, 0.69, 0.9 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/rotscale",
            "fragment_shader": "minecraft:post/spiderclip",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "small_blur"
                },
                {
                    "sampler_name": "Blur",
                    "target": "swap"
                }
            ],
            "output": "temp",
            "uniforms": [
                {
                    "name": "InScale",
                    "type": "vec2",
                    "values": [ 2.35, 4.2 ]
                },
                {
                    "name": "InOffset",
                    "type": "vec2",
                    "values": [ 0.45, -4.45 ]
                },
                {
                    "name": "InRotation",
                    "type": "float",
                    "values": [ 45.0 ]
                },
                {
                    "name": "Scissor",
                    "type": "vec4",
                    "values": [ 0.21, 0.0, 0.79, 1.0 ]
                },
                {
                    "name": "Vignette",
                    "type": "vec4",
                    "values": [ 0.31, 0.1, 0.69, 0.9 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/rotscale",
            "fragment_shader": "minecraft:post/spiderclip",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "small_blur"
                },
                {
                    "sampler_name": "Blur",
                    "target": "temp"
                }
            ],
            "output": "swap",
            "uniforms": [
                {
                    "name": "InScale",
                    "type": "vec2",
                    "values": [ 2.35, 2.35 ]
                },
                {
                    "name": "InOffset",
                    "type": "vec2",
                    "values": [ -0.385, -1.29 ]
                },
                {
                    "name": "InRotation",
                    "type": "float",
                    "values": [ 0.0 ]
                },
                {
                    "name": "Scissor",
                    "type": "vec4",
                    "values": [ 0.0, 0.0, 1.0, 1.0 ]
                },
                {
                    "name": "Vignette",
                    "type": "vec4",
                    "values": [ 0.31, 0.1, 0.69, 0.9 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/rotscale",
            "fragment_shader": "minecraft:post/spiderclip",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "small_blur"
                },
                {
                    "sampler_name": "Blur",
                    "target": "swap"
                }
            ],
            "output": "temp",
            "uniforms": [
                {
                    "name": "InScale",
                    "type": "vec2",
                    "values": [ 2.35, 2.35 ]
                },
                {
                    "name": "InOffset",
                    "type": "vec2",
                    "values": [ -0.965, -1.29 ]
                },
                {
                    "name": "InRotation",
                    "type": "float",
                    "values": [ 0 ]
                },
                {
                    "name": "Scissor",
                    "type": "vec4",
                    "values": [ 0.0, 0.0, 1.0, 1.0 ]
                },
                {
                    "name": "Vignette",
                    "type": "vec4",
                    "values": [ 0.31, 0.1, 0.69, 0.9 ]
                }
            ]
        },
        {
            "vertex_shader": "minecraft:post/blit",
            "fragment_shader": "minecraft:post/blit",
            "inputs": [
                {
                    "sampler_name": "In",
                    "target": "temp"
                }
            ],
            "output": "minecraft:main",
            "uniforms": [
                {
                    "name": "ColorModulate",
                    "type": "vec4",
                    "values": [ 1.0, 0.8, 0.8, 1.0 ]
                }
            ]
        }
    ]
}
