minify resource pack. png to webp.
This commit is contained in:
@@ -1,162 +1 @@
|
||||
{
|
||||
"targets": {
|
||||
"swap": {}
|
||||
},
|
||||
"passes": [
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:main",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "swap",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 1.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "swap",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "minecraft:main",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 0.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
}, {
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:main",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "swap",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 1.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "swap",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "minecraft:main",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 0.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:main",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "swap",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 1.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "swap",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "minecraft:main",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 0.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{"targets":{"swap":{}},"passes":[{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"minecraft:main","bilinear":true}],"output":"swap","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[1.0,0.0]},{"name":"Radius","type":"float","value":0.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"swap","bilinear":true}],"output":"minecraft:main","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[0.0,1.0]},{"name":"Radius","type":"float","value":0.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"minecraft:main","bilinear":true}],"output":"swap","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[1.0,0.0]},{"name":"Radius","type":"float","value":0.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"swap","bilinear":true}],"output":"minecraft:main","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[0.0,1.0]},{"name":"Radius","type":"float","value":0.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"minecraft:main","bilinear":true}],"output":"swap","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[1.0,0.0]},{"name":"Radius","type":"float","value":0.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"swap","bilinear":true}],"output":"minecraft:main","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[0.0,1.0]},{"name":"Radius","type":"float","value":0.0}]}}]}
|
||||
@@ -1,62 +1 @@
|
||||
{
|
||||
"targets": {
|
||||
"swap": {}
|
||||
},
|
||||
"passes": [
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"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:core/screenquad",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{"targets":{"swap":{}},"passes":[{"vertex_shader":"minecraft:core/screenquad","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:core/screenquad","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}]}}]}
|
||||
@@ -1,90 +1 @@
|
||||
{
|
||||
"targets": {
|
||||
"swap": {}
|
||||
},
|
||||
"passes": [
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/entity_sobel",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:entity_outline"
|
||||
}
|
||||
],
|
||||
"output": "swap"
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/entity_outline_box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "swap",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "minecraft:entity_outline",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 1.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 2.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/entity_outline_box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:entity_outline",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "swap",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 0.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 2.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/blit",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "swap"
|
||||
}
|
||||
],
|
||||
"uniforms": {
|
||||
"BlitConfig": [
|
||||
{
|
||||
"name": "ColorModulate",
|
||||
"type": "vec4",
|
||||
"value": [ 1.0, 1.0, 1.0, 1.0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": "minecraft:entity_outline"
|
||||
}
|
||||
]
|
||||
}
|
||||
{"targets":{"swap":{}},"passes":[{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/entity_sobel","inputs":[{"sampler_name":"In","target":"minecraft:entity_outline"}],"output":"swap"},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/entity_outline_box_blur","inputs":[{"sampler_name":"In","target":"swap","bilinear":true}],"output":"minecraft:entity_outline","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[1.0,0.0]},{"name":"Radius","type":"float","value":2.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/entity_outline_box_blur","inputs":[{"sampler_name":"In","target":"minecraft:entity_outline","bilinear":true}],"output":"swap","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[0.0,1.0]},{"name":"Radius","type":"float","value":2.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/blit","inputs":[{"sampler_name":"In","target":"swap"}],"uniforms":{"BlitConfig":[{"name":"ColorModulate","type":"vec4","value":[1.0,1.0,1.0,1.0]}]},"output":"minecraft:entity_outline"}]}
|
||||
@@ -1,47 +1 @@
|
||||
{
|
||||
"targets": {
|
||||
"swap": {}
|
||||
},
|
||||
"passes": [
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/invert",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:main"
|
||||
}
|
||||
],
|
||||
"output": "swap",
|
||||
"uniforms": {
|
||||
"InvertConfig": [
|
||||
{
|
||||
"name": "InverseAmount",
|
||||
"type": "float",
|
||||
"value": 0.8
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/blit",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "swap"
|
||||
}
|
||||
],
|
||||
"uniforms": {
|
||||
"BlitConfig": [
|
||||
{
|
||||
"name": "ColorModulate",
|
||||
"type": "vec4",
|
||||
"value": [ 1.0, 1.0, 1.0, 1.0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": "minecraft:main"
|
||||
}
|
||||
]
|
||||
}
|
||||
{"targets":{"swap":{}},"passes":[{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/invert","inputs":[{"sampler_name":"In","target":"minecraft:main"}],"output":"swap","uniforms":{"InvertConfig":[{"name":"InverseAmount","type":"float","value":0.8}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/blit","inputs":[{"sampler_name":"In","target":"swap"}],"uniforms":{"BlitConfig":[{"name":"ColorModulate","type":"vec4","value":[1.0,1.0,1.0,1.0]}]},"output":"minecraft:main"}]}
|
||||
@@ -1,364 +1 @@
|
||||
{
|
||||
"targets": {
|
||||
"large_blur": {},
|
||||
"small_blur": {},
|
||||
"temp": {},
|
||||
"swap": {}
|
||||
},
|
||||
"passes": [
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:main",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "temp",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 1.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 15.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "temp",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "large_blur",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 0.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 15.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "minecraft:main",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "temp",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 1.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 7.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/box_blur",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "temp",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"output": "small_blur",
|
||||
"uniforms": {
|
||||
"BlurConfig": [
|
||||
{
|
||||
"name": "BlurDir",
|
||||
"type": "vec2",
|
||||
"value": [ 0.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Radius",
|
||||
"type": "float",
|
||||
"value": 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": {
|
||||
"RotScaleConfig": [
|
||||
{
|
||||
"name": "InScale",
|
||||
"type": "vec2",
|
||||
"value": [ 1.25, 2.0 ]
|
||||
},
|
||||
{
|
||||
"name": "InOffset",
|
||||
"type": "vec2",
|
||||
"value": [ -0.125, -0.1 ]
|
||||
},
|
||||
{
|
||||
"name": "InRotation",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
],
|
||||
"SpiderConfig": [
|
||||
{
|
||||
"name": "Scissor",
|
||||
"type": "vec4",
|
||||
"value": [ 0.0, 0.0, 1.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Vignette",
|
||||
"type": "vec4",
|
||||
"value": [ 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": {
|
||||
"RotScaleConfig": [
|
||||
{
|
||||
"name": "InScale",
|
||||
"type": "vec2",
|
||||
"value": [ 2.35, 4.2 ]
|
||||
},
|
||||
{
|
||||
"name": "InOffset",
|
||||
"type": "vec2",
|
||||
"value": [ -1.1, -1.5 ]
|
||||
},
|
||||
{
|
||||
"name": "InRotation",
|
||||
"type": "float",
|
||||
"value": -45.0
|
||||
}
|
||||
],
|
||||
"SpiderConfig": [
|
||||
{
|
||||
"name": "Scissor",
|
||||
"type": "vec4",
|
||||
"value": [ 0.21, 0.0, 0.79, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Vignette",
|
||||
"type": "vec4",
|
||||
"value": [ 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": {
|
||||
"RotScaleConfig": [
|
||||
{
|
||||
"name": "InScale",
|
||||
"type": "vec2",
|
||||
"value": [ 2.35, 4.2 ]
|
||||
},
|
||||
{
|
||||
"name": "InOffset",
|
||||
"type": "vec2",
|
||||
"value": [ 0.45, -4.45 ]
|
||||
},
|
||||
{
|
||||
"name": "InRotation",
|
||||
"type": "float",
|
||||
"value": 45.0
|
||||
}
|
||||
],
|
||||
"SpiderConfig": [
|
||||
{
|
||||
"name": "Scissor",
|
||||
"type": "vec4",
|
||||
"value": [ 0.21, 0.0, 0.79, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Vignette",
|
||||
"type": "vec4",
|
||||
"value": [ 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": {
|
||||
"RotScaleConfig": [
|
||||
{
|
||||
"name": "InScale",
|
||||
"type": "vec2",
|
||||
"value": [ 2.35, 2.35 ]
|
||||
},
|
||||
{
|
||||
"name": "InOffset",
|
||||
"type": "vec2",
|
||||
"value": [ -0.385, -1.29 ]
|
||||
},
|
||||
{
|
||||
"name": "InRotation",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
],
|
||||
"SpiderConfig": [
|
||||
{
|
||||
"name": "Scissor",
|
||||
"type": "vec4",
|
||||
"value": [ 0.0, 0.0, 1.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Vignette",
|
||||
"type": "vec4",
|
||||
"value": [ 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": {
|
||||
"RotScaleConfig": [
|
||||
{
|
||||
"name": "InScale",
|
||||
"type": "vec2",
|
||||
"value": [ 2.35, 2.35 ]
|
||||
},
|
||||
{
|
||||
"name": "InOffset",
|
||||
"type": "vec2",
|
||||
"value": [ -0.965, -1.29 ]
|
||||
},
|
||||
{
|
||||
"name": "InRotation",
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
}
|
||||
],
|
||||
"SpiderConfig": [
|
||||
{
|
||||
"name": "Scissor",
|
||||
"type": "vec4",
|
||||
"value": [ 0.0, 0.0, 1.0, 1.0 ]
|
||||
},
|
||||
{
|
||||
"name": "Vignette",
|
||||
"type": "vec4",
|
||||
"value": [ 0.31, 0.1, 0.69, 0.9 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/blit",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "temp"
|
||||
}
|
||||
],
|
||||
"output": "minecraft:main",
|
||||
"uniforms": {
|
||||
"BlitConfig": [
|
||||
{
|
||||
"name": "ColorModulate",
|
||||
"type": "vec4",
|
||||
"value": [ 1.0, 0.8, 0.8, 1.0 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{"targets":{"large_blur":{},"small_blur":{},"temp":{},"swap":{}},"passes":[{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"minecraft:main","bilinear":true}],"output":"temp","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[1.0,0.0]},{"name":"Radius","type":"float","value":15.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"temp","bilinear":true}],"output":"large_blur","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[0.0,1.0]},{"name":"Radius","type":"float","value":15.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"minecraft:main","bilinear":true}],"output":"temp","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[1.0,0.0]},{"name":"Radius","type":"float","value":7.0}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/box_blur","inputs":[{"sampler_name":"In","target":"temp","bilinear":true}],"output":"small_blur","uniforms":{"BlurConfig":[{"name":"BlurDir","type":"vec2","value":[0.0,1.0]},{"name":"Radius","type":"float","value":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":{"RotScaleConfig":[{"name":"InScale","type":"vec2","value":[1.25,2.0]},{"name":"InOffset","type":"vec2","value":[-0.125,-0.1]},{"name":"InRotation","type":"float","value":0.0}],"SpiderConfig":[{"name":"Scissor","type":"vec4","value":[0.0,0.0,1.0,1.0]},{"name":"Vignette","type":"vec4","value":[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":{"RotScaleConfig":[{"name":"InScale","type":"vec2","value":[2.35,4.2]},{"name":"InOffset","type":"vec2","value":[-1.1,-1.5]},{"name":"InRotation","type":"float","value":-45.0}],"SpiderConfig":[{"name":"Scissor","type":"vec4","value":[0.21,0.0,0.79,1.0]},{"name":"Vignette","type":"vec4","value":[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":{"RotScaleConfig":[{"name":"InScale","type":"vec2","value":[2.35,4.2]},{"name":"InOffset","type":"vec2","value":[0.45,-4.45]},{"name":"InRotation","type":"float","value":45.0}],"SpiderConfig":[{"name":"Scissor","type":"vec4","value":[0.21,0.0,0.79,1.0]},{"name":"Vignette","type":"vec4","value":[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":{"RotScaleConfig":[{"name":"InScale","type":"vec2","value":[2.35,2.35]},{"name":"InOffset","type":"vec2","value":[-0.385,-1.29]},{"name":"InRotation","type":"float","value":0.0}],"SpiderConfig":[{"name":"Scissor","type":"vec4","value":[0.0,0.0,1.0,1.0]},{"name":"Vignette","type":"vec4","value":[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":{"RotScaleConfig":[{"name":"InScale","type":"vec2","value":[2.35,2.35]},{"name":"InOffset","type":"vec2","value":[-0.965,-1.29]},{"name":"InRotation","type":"float","value":0.0}],"SpiderConfig":[{"name":"Scissor","type":"vec4","value":[0.0,0.0,1.0,1.0]},{"name":"Vignette","type":"vec4","value":[0.31,0.1,0.69,0.9]}]}},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/blit","inputs":[{"sampler_name":"In","target":"temp"}],"output":"minecraft:main","uniforms":{"BlitConfig":[{"name":"ColorModulate","type":"vec4","value":[1.0,0.8,0.8,1.0]}]}}]}
|
||||
@@ -1,88 +1 @@
|
||||
{
|
||||
"targets" : {
|
||||
"final": {}
|
||||
},
|
||||
"passes": [
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/transparency",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "Main",
|
||||
"target": "minecraft:main"
|
||||
},
|
||||
{
|
||||
"sampler_name": "MainDepth",
|
||||
"target": "minecraft:main",
|
||||
"use_depth_buffer": true
|
||||
},
|
||||
{
|
||||
"sampler_name": "Translucent",
|
||||
"target": "minecraft:translucent"
|
||||
},
|
||||
{
|
||||
"sampler_name": "TranslucentDepth",
|
||||
"target": "minecraft:translucent",
|
||||
"use_depth_buffer": true
|
||||
},
|
||||
{
|
||||
"sampler_name": "ItemEntity",
|
||||
"target": "minecraft:item_entity"
|
||||
},
|
||||
{
|
||||
"sampler_name": "ItemEntityDepth",
|
||||
"target": "minecraft:item_entity",
|
||||
"use_depth_buffer": true
|
||||
},
|
||||
{
|
||||
"sampler_name": "Particles",
|
||||
"target": "minecraft:particles"
|
||||
},
|
||||
{
|
||||
"sampler_name": "ParticlesDepth",
|
||||
"target": "minecraft:particles",
|
||||
"use_depth_buffer": true
|
||||
},
|
||||
{
|
||||
"sampler_name": "Clouds",
|
||||
"target": "minecraft:clouds"
|
||||
},
|
||||
{
|
||||
"sampler_name": "CloudsDepth",
|
||||
"target": "minecraft:clouds",
|
||||
"use_depth_buffer": true
|
||||
},
|
||||
{
|
||||
"sampler_name": "Weather",
|
||||
"target": "minecraft:weather"
|
||||
},
|
||||
{
|
||||
"sampler_name": "WeatherDepth",
|
||||
"target": "minecraft:weather",
|
||||
"use_depth_buffer": true
|
||||
}
|
||||
],
|
||||
"output": "final"
|
||||
},
|
||||
{
|
||||
"vertex_shader": "minecraft:core/screenquad",
|
||||
"fragment_shader": "minecraft:post/blit",
|
||||
"inputs": [
|
||||
{
|
||||
"sampler_name": "In",
|
||||
"target": "final"
|
||||
}
|
||||
],
|
||||
"uniforms": {
|
||||
"BlitConfig": [
|
||||
{
|
||||
"name": "ColorModulate",
|
||||
"type": "vec4",
|
||||
"value": [ 1.0, 1.0, 1.0, 1.0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": "minecraft:main"
|
||||
}
|
||||
]
|
||||
}
|
||||
{"targets":{"final":{}},"passes":[{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/transparency","inputs":[{"sampler_name":"Main","target":"minecraft:main"},{"sampler_name":"MainDepth","target":"minecraft:main","use_depth_buffer":true},{"sampler_name":"Translucent","target":"minecraft:translucent"},{"sampler_name":"TranslucentDepth","target":"minecraft:translucent","use_depth_buffer":true},{"sampler_name":"ItemEntity","target":"minecraft:item_entity"},{"sampler_name":"ItemEntityDepth","target":"minecraft:item_entity","use_depth_buffer":true},{"sampler_name":"Particles","target":"minecraft:particles"},{"sampler_name":"ParticlesDepth","target":"minecraft:particles","use_depth_buffer":true},{"sampler_name":"Clouds","target":"minecraft:clouds"},{"sampler_name":"CloudsDepth","target":"minecraft:clouds","use_depth_buffer":true},{"sampler_name":"Weather","target":"minecraft:weather"},{"sampler_name":"WeatherDepth","target":"minecraft:weather","use_depth_buffer":true}],"output":"final"},{"vertex_shader":"minecraft:core/screenquad","fragment_shader":"minecraft:post/blit","inputs":[{"sampler_name":"In","target":"final"}],"uniforms":{"BlitConfig":[{"name":"ColorModulate","type":"vec4","value":[1.0,1.0,1.0,1.0]}]},"output":"minecraft:main"}]}
|
||||
Reference in New Issue
Block a user