{ "targets": { "swap": {} }, "passes": [ { "vertex_shader": "minecraft:post/sobel", "fragment_shader": "minecraft:post/color_convolve", "inputs": [ { "sampler_name": "In", "target": "minecraft:main" } ], "output": "swap", "uniforms": { "ColorConfig": [ { "name": "RedMatrix", "type": "vec3", "value": [ 0.0, 0.0, 0.0 ] }, { "name": "GreenMatrix", "type": "vec3", "value": [ 0.3, 0.59, 0.11 ] }, { "name": "BlueMatrix", "type": "vec3", "value": [ 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": { "BitsConfig": [ { "name": "Resolution", "type": "float", "value": 16.0 }, { "name": "MosaicSize", "type": "float", "value": 4.0 } ] } } ] }