srcclean: Added JSON cleaning support, and some cleanup.
Made pbobble parent of bublbust, as it seems to be more widespread and more complete. Also fixed some ROM labels for bublbust. Made tbyahhoo parent of mtwinbee as the latter has substantial content removed rather than being localised, making it less complete. Applied srcclean to JSON files in bgfx subtree.
This commit is contained in:
parent
59c4e5fed6
commit
0c49c74ada
@ -1,154 +1,154 @@
|
||||
{
|
||||
"name": "CRT-geom",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "aperture_strength",
|
||||
"text": "Shadow mask strength",
|
||||
"default": 0.13,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_power",
|
||||
"text": "Phosphor decay power",
|
||||
"default": 1.9,
|
||||
"max" : 3.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_amplitude",
|
||||
"text": "Phosphor persistence amplitude",
|
||||
"default": 0.04,
|
||||
"max" : 0.2,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "halation",
|
||||
"text": "Halation amplitude",
|
||||
"default": 0.0,
|
||||
"max" : 0.3,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "blurwidth",
|
||||
"text": "Halation blur width",
|
||||
"default": 0.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "curvature",
|
||||
"text": "Enable curvature",
|
||||
"default": 0.0,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 1.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "R",
|
||||
"text": "Radius of curvature",
|
||||
"default": 3.5,
|
||||
"max" : 10.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "d",
|
||||
"text": "Distance to screen",
|
||||
"default": 2.0,
|
||||
"max" : 10.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "angle",
|
||||
"text": "Tilt ",
|
||||
"default": [ 0.0,-0.05 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [-1.0,-1.0 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersize",
|
||||
"text": "Rounded corner size",
|
||||
"default": 0.00,
|
||||
"max" : 0.10,
|
||||
"min" : 0.00,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersmooth",
|
||||
"text": "Border smoothness",
|
||||
"default": 1000,
|
||||
"max" : 2000,
|
||||
"min" : 100,
|
||||
"step" : 100,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "overscan",
|
||||
"text": "Overscan ",
|
||||
"default": [ 1.0, 1.0 ],
|
||||
"max" : [ 1.2, 1.2 ],
|
||||
"min" : [ 0.8, 0.8 ],
|
||||
"step" : 0.02,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "CRTgamma",
|
||||
"text": "Gamma of simulated CRT",
|
||||
"default": 2.4,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "aspect",
|
||||
"text": "Aspect ratio ",
|
||||
"default": [ 1.0, 0.75 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [ 0.3, 0.3 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" }
|
||||
],
|
||||
"name": "CRT-geom",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "aperture_strength",
|
||||
"text": "Shadow mask strength",
|
||||
"default": 0.13,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_power",
|
||||
"text": "Phosphor decay power",
|
||||
"default": 1.9,
|
||||
"max" : 3.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_amplitude",
|
||||
"text": "Phosphor persistence amplitude",
|
||||
"default": 0.04,
|
||||
"max" : 0.2,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "halation",
|
||||
"text": "Halation amplitude",
|
||||
"default": 0.0,
|
||||
"max" : 0.3,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "blurwidth",
|
||||
"text": "Halation blur width",
|
||||
"default": 0.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "curvature",
|
||||
"text": "Enable curvature",
|
||||
"default": 0.0,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 1.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "R",
|
||||
"text": "Radius of curvature",
|
||||
"default": 3.5,
|
||||
"max" : 10.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "d",
|
||||
"text": "Distance to screen",
|
||||
"default": 2.0,
|
||||
"max" : 10.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "angle",
|
||||
"text": "Tilt ",
|
||||
"default": [ 0.0,-0.05 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [-1.0,-1.0 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersize",
|
||||
"text": "Rounded corner size",
|
||||
"default": 0.00,
|
||||
"max" : 0.10,
|
||||
"min" : 0.00,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersmooth",
|
||||
"text": "Border smoothness",
|
||||
"default": 1000,
|
||||
"max" : 2000,
|
||||
"min" : 100,
|
||||
"step" : 100,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "overscan",
|
||||
"text": "Overscan ",
|
||||
"default": [ 1.0, 1.0 ],
|
||||
"max" : [ 1.2, 1.2 ],
|
||||
"min" : [ 0.8, 0.8 ],
|
||||
"step" : 0.02,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "CRTgamma",
|
||||
"text": "Gamma of simulated CRT",
|
||||
"default": 2.4,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "aspect",
|
||||
"text": "Aspect ratio ",
|
||||
"default": [ 1.0, 0.75 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [ 0.3, 0.3 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" }
|
||||
],
|
||||
"targets": [
|
||||
{ "name": "internal1",
|
||||
{ "name": "internal1",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "internal2",
|
||||
{ "name": "internal2",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "blur",
|
||||
{ "name": "blur",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "phosphor",
|
||||
{ "name": "phosphor",
|
||||
"mode": "guest"
|
||||
}
|
||||
|
||||
@ -158,13 +158,13 @@
|
||||
"effect": "crt-geom/phosphor_apply",
|
||||
"name": "phosphor apply",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "screen" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
{ "sampler": "s_screen", "target": "screen" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
],
|
||||
"output": "internal1"
|
||||
},
|
||||
@ -172,13 +172,13 @@
|
||||
"effect": "crt-geom/phosphor_update",
|
||||
"name": "phosphor update",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "screen" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
{ "sampler": "s_screen", "target": "screen" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
],
|
||||
"output": "phosphor"
|
||||
},
|
||||
@ -186,12 +186,12 @@
|
||||
"effect": "crt-geom/gaussx",
|
||||
"name": "Gaussian blur x",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal1" }
|
||||
{ "sampler": "s_tex", "target": "internal1" }
|
||||
],
|
||||
"output": "internal2"
|
||||
},
|
||||
@ -199,12 +199,12 @@
|
||||
"effect": "crt-geom/gaussy",
|
||||
"name": "Gaussian blur y",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal2" }
|
||||
{ "sampler": "s_tex", "target": "internal2" }
|
||||
],
|
||||
"output": "blur"
|
||||
},
|
||||
@ -212,24 +212,24 @@
|
||||
"effect": "crt-geom/crt-geom-deluxe",
|
||||
"name": "CRT",
|
||||
"uniforms": [
|
||||
{ "uniform": "curvature", "slider": "curvature" },
|
||||
{ "uniform": "R", "slider": "R" },
|
||||
{ "uniform": "d", "slider": "d" },
|
||||
{ "uniform": "angle", "slider": "angle" },
|
||||
{ "uniform": "cornersize", "slider": "cornersize" },
|
||||
{ "uniform": "cornersmooth","slider": "cornersmooth" },
|
||||
{ "uniform": "overscan", "slider": "overscan" },
|
||||
{ "uniform": "aspect", "slider": "aspect" },
|
||||
{ "uniform": "CRTgamma", "slider": "CRTgamma" },
|
||||
{ "uniform": "monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "aperture_strength","slider": "aperture_strength" },
|
||||
{ "uniform": "halation", "slider": "halation" }
|
||||
{ "uniform": "curvature", "slider": "curvature" },
|
||||
{ "uniform": "R", "slider": "R" },
|
||||
{ "uniform": "d", "slider": "d" },
|
||||
{ "uniform": "angle", "slider": "angle" },
|
||||
{ "uniform": "cornersize", "slider": "cornersize" },
|
||||
{ "uniform": "cornersmooth","slider": "cornersmooth" },
|
||||
{ "uniform": "overscan", "slider": "overscan" },
|
||||
{ "uniform": "aspect", "slider": "aspect" },
|
||||
{ "uniform": "CRTgamma", "slider": "CRTgamma" },
|
||||
{ "uniform": "monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "aperture_strength","slider": "aperture_strength" },
|
||||
{ "uniform": "halation", "slider": "halation" }
|
||||
],
|
||||
|
||||
"input": [
|
||||
{ "sampler": "mpass_texture", "target": "internal1" },
|
||||
{ "sampler": "mask_texture", "texture": "bgfx/chains/crt-geom/aperture_2_4_rgb.png", "selection": "Shadow mask" },
|
||||
{ "sampler": "blur_texture", "target": "blur" }
|
||||
{ "sampler": "mpass_texture", "target": "internal1" },
|
||||
{ "sampler": "mask_texture", "texture": "bgfx/chains/crt-geom/aperture_2_4_rgb.png", "selection": "Shadow mask" },
|
||||
{ "sampler": "blur_texture", "target": "blur" }
|
||||
],
|
||||
|
||||
"output": "output"
|
||||
|
@ -1,364 +1,364 @@
|
||||
{
|
||||
"name": "CRT-geom",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "aperture_strength",
|
||||
"text": "Shadow mask strength",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "aperture_brightboost",
|
||||
"text": "Shadow mask brightness boost",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_size",
|
||||
"text": "Spot size minimum",
|
||||
"default": 0.3,
|
||||
"max" : 0.5,
|
||||
"min" : 0.1,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth",
|
||||
"text": "Spot size dilation",
|
||||
"default": 0.1,
|
||||
"max" : 0.4,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth_power",
|
||||
"text": "Spot dilation onset power",
|
||||
"default": 3.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.2,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "lowpass_cutoff",
|
||||
"text": "Lowpass cutoff pixels/scanline",
|
||||
"default":1000.0,
|
||||
"max" :1000.0,
|
||||
"min" : 100.0,
|
||||
"step" : 10.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "lowpass_width",
|
||||
"text": "Lowpass width",
|
||||
"default": 80.0,
|
||||
"max" : 300.0,
|
||||
"min" : 0.0,
|
||||
"step" : 10.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "intenum",
|
||||
"name": "x_interpolation",
|
||||
"text": "Horizontal interpolation",
|
||||
"default": 2,
|
||||
"max" : 5,
|
||||
"min" : 0,
|
||||
"step" : 1,
|
||||
"format": "%s",
|
||||
"strings": [ "box", "linear", "Lanczos", "Catmull-Rom", "Mitchell-Netravali", "B-spline" ],
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_power",
|
||||
"text": "Phosphor decay power",
|
||||
"default": 1.2,
|
||||
"max" : 3.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_cutoff",
|
||||
"text": "Phosphor decay cutoff frames",
|
||||
"default": 300.0,
|
||||
"max" : 1000.0,
|
||||
"min" : 10.0,
|
||||
"step" : 10.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_amplitude",
|
||||
"text": "Phosphor persistence amplitude",
|
||||
"default": 0.04,
|
||||
"max" : 0.2,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "rasterbloom_smooth",
|
||||
"text": "Raster bloom temporal smoothing",
|
||||
"default": 0.5,
|
||||
"max" : 0.99,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "rasterbloom",
|
||||
"text": "Raster bloom amplitude",
|
||||
"default": 0.01,
|
||||
"max" : 0.1,
|
||||
"min" : 0.0,
|
||||
"step" : 0.001,
|
||||
"format": "%1.3f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "halation",
|
||||
"text": "Halation amplitude",
|
||||
"default": 0.1,
|
||||
"max" : 0.3,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "blurwidth",
|
||||
"text": "Halation blur width",
|
||||
"default": 2.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "curvature",
|
||||
"text": "Enable curvature",
|
||||
"default": 1.0,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 1.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "R",
|
||||
"text": "Radius of curvature",
|
||||
"default": 3.5,
|
||||
"max" : 10.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "d",
|
||||
"text": "Distance to screen",
|
||||
"default": 2.0,
|
||||
"max" : 10.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "angle",
|
||||
"text": "Tilt ",
|
||||
"default": [ 0.0, 0.0 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [-1.0,-1.0 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersize",
|
||||
"text": "Rounded corner size",
|
||||
"default": 0.01,
|
||||
"max" : 0.10,
|
||||
"min" : 0.00,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersmooth",
|
||||
"text": "Border smoothness",
|
||||
"default": 1000,
|
||||
"max" : 2000,
|
||||
"min" : 100,
|
||||
"step" : 100,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "overscan",
|
||||
"text": "Overscan ",
|
||||
"default": [ 1.0, 1.0 ],
|
||||
"max" : [ 1.2, 1.2 ],
|
||||
"min" : [ 0.8, 0.8 ],
|
||||
"step" : 0.02,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "CRTgamma",
|
||||
"text": "Gamma of simulated CRT",
|
||||
"default": 2.4,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "aspect",
|
||||
"text": "Aspect ratio ",
|
||||
"default": [ 1.0, 0.75 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [ 0.3, 0.3 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" }
|
||||
],
|
||||
"targets": [
|
||||
{ "name": "internal1",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "internal2",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "mipmap",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "blur",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "phosphor",
|
||||
"mode": "guest"
|
||||
}
|
||||
],
|
||||
"passes": [
|
||||
{
|
||||
"effect": "crt-geom/lowpass",
|
||||
"name": "lowpass",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_lowpass_cutoff", "slider": "lowpass_cutoff" },
|
||||
{ "uniform": "u_lowpass_width", "slider": "lowpass_width" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "screen" }
|
||||
],
|
||||
"output": "internal2"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/mipmap8",
|
||||
"name": "mipmap",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_smooth", "slider": "rasterbloom_smooth" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "internal2" },
|
||||
{ "sampler": "s_mipmap", "target": "mipmap" }
|
||||
],
|
||||
"output": "mipmap"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/phosphor_apply",
|
||||
"applytint": true,
|
||||
"name": "phosphor apply",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_phosphor_cutoff", "slider": "phosphor_cutoff" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "internal2" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
],
|
||||
"output": "internal1"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/phosphor_update",
|
||||
"name": "phosphor update",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_phosphor_cutoff", "slider": "phosphor_cutoff" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "internal2" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
],
|
||||
"output": "phosphor"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/gaussx",
|
||||
"name": "Gaussian blur x",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal1" }
|
||||
],
|
||||
"output": "internal2"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/gaussy",
|
||||
"name": "Gaussian blur y",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal2" }
|
||||
],
|
||||
"output": "blur"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/crt-geom-deluxe",
|
||||
"name": "CRT",
|
||||
"uniforms": [
|
||||
{ "uniform": "curvature", "slider": "curvature" },
|
||||
{ "uniform": "R", "slider": "R" },
|
||||
{ "uniform": "d", "slider": "d" },
|
||||
{ "uniform": "angle", "slider": "angle" },
|
||||
{ "uniform": "cornersize", "slider": "cornersize" },
|
||||
{ "uniform": "cornersmooth","slider": "cornersmooth" },
|
||||
{ "uniform": "overscan", "slider": "overscan" },
|
||||
{ "uniform": "aspect", "slider": "aspect" },
|
||||
{ "uniform": "CRTgamma", "slider": "CRTgamma" },
|
||||
{ "uniform": "monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "aperture_strength","slider": "aperture_strength" },
|
||||
{ "uniform": "aperture_brightboost","slider": "aperture_brightboost" },
|
||||
{ "uniform": "spot_size", "slider": "spot_size" },
|
||||
{ "uniform": "spot_growth", "slider": "spot_growth" },
|
||||
{ "uniform": "spot_growth_power", "slider": "spot_growth_power" },
|
||||
{ "uniform": "u_interp", "slider": "x_interpolation" },
|
||||
{ "uniform": "halation", "slider": "halation" },
|
||||
{ "uniform": "blurwidth", "slider": "blurwidth" },
|
||||
{ "uniform": "rasterbloom", "slider": "rasterbloom" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "mpass_texture", "target": "internal1" },
|
||||
{ "sampler": "mask_texture", "texture": "bgfx/chains/crt-geom/aperture_1_2_bgr.png", "selection": "Shadow mask" },
|
||||
{ "sampler": "blur_texture", "target": "blur" },
|
||||
{ "sampler": "mipmap_texture", "target": "mipmap" }
|
||||
],
|
||||
"output": "output"
|
||||
}
|
||||
]
|
||||
"name": "CRT-geom",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "aperture_strength",
|
||||
"text": "Shadow mask strength",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "aperture_brightboost",
|
||||
"text": "Shadow mask brightness boost",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_size",
|
||||
"text": "Spot size minimum",
|
||||
"default": 0.3,
|
||||
"max" : 0.5,
|
||||
"min" : 0.1,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth",
|
||||
"text": "Spot size dilation",
|
||||
"default": 0.1,
|
||||
"max" : 0.4,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth_power",
|
||||
"text": "Spot dilation onset power",
|
||||
"default": 3.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.2,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "lowpass_cutoff",
|
||||
"text": "Lowpass cutoff pixels/scanline",
|
||||
"default":1000.0,
|
||||
"max" :1000.0,
|
||||
"min" : 100.0,
|
||||
"step" : 10.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "lowpass_width",
|
||||
"text": "Lowpass width",
|
||||
"default": 80.0,
|
||||
"max" : 300.0,
|
||||
"min" : 0.0,
|
||||
"step" : 10.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "intenum",
|
||||
"name": "x_interpolation",
|
||||
"text": "Horizontal interpolation",
|
||||
"default": 2,
|
||||
"max" : 5,
|
||||
"min" : 0,
|
||||
"step" : 1,
|
||||
"format": "%s",
|
||||
"strings": [ "box", "linear", "Lanczos", "Catmull-Rom", "Mitchell-Netravali", "B-spline" ],
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_power",
|
||||
"text": "Phosphor decay power",
|
||||
"default": 1.2,
|
||||
"max" : 3.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_cutoff",
|
||||
"text": "Phosphor decay cutoff frames",
|
||||
"default": 300.0,
|
||||
"max" : 1000.0,
|
||||
"min" : 10.0,
|
||||
"step" : 10.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "phosphor_amplitude",
|
||||
"text": "Phosphor persistence amplitude",
|
||||
"default": 0.04,
|
||||
"max" : 0.2,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "rasterbloom_smooth",
|
||||
"text": "Raster bloom temporal smoothing",
|
||||
"default": 0.5,
|
||||
"max" : 0.99,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "rasterbloom",
|
||||
"text": "Raster bloom amplitude",
|
||||
"default": 0.01,
|
||||
"max" : 0.1,
|
||||
"min" : 0.0,
|
||||
"step" : 0.001,
|
||||
"format": "%1.3f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "halation",
|
||||
"text": "Halation amplitude",
|
||||
"default": 0.1,
|
||||
"max" : 0.3,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "blurwidth",
|
||||
"text": "Halation blur width",
|
||||
"default": 2.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "curvature",
|
||||
"text": "Enable curvature",
|
||||
"default": 1.0,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 1.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "R",
|
||||
"text": "Radius of curvature",
|
||||
"default": 3.5,
|
||||
"max" : 10.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "d",
|
||||
"text": "Distance to screen",
|
||||
"default": 2.0,
|
||||
"max" : 10.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "angle",
|
||||
"text": "Tilt ",
|
||||
"default": [ 0.0, 0.0 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [-1.0,-1.0 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersize",
|
||||
"text": "Rounded corner size",
|
||||
"default": 0.01,
|
||||
"max" : 0.10,
|
||||
"min" : 0.00,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersmooth",
|
||||
"text": "Border smoothness",
|
||||
"default": 1000,
|
||||
"max" : 2000,
|
||||
"min" : 100,
|
||||
"step" : 100,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "overscan",
|
||||
"text": "Overscan ",
|
||||
"default": [ 1.0, 1.0 ],
|
||||
"max" : [ 1.2, 1.2 ],
|
||||
"min" : [ 0.8, 0.8 ],
|
||||
"step" : 0.02,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "CRTgamma",
|
||||
"text": "Gamma of simulated CRT",
|
||||
"default": 2.4,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "aspect",
|
||||
"text": "Aspect ratio ",
|
||||
"default": [ 1.0, 0.75 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [ 0.3, 0.3 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" }
|
||||
],
|
||||
"targets": [
|
||||
{ "name": "internal1",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "internal2",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "mipmap",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "blur",
|
||||
"mode": "guest"
|
||||
},
|
||||
{ "name": "phosphor",
|
||||
"mode": "guest"
|
||||
}
|
||||
],
|
||||
"passes": [
|
||||
{
|
||||
"effect": "crt-geom/lowpass",
|
||||
"name": "lowpass",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_lowpass_cutoff", "slider": "lowpass_cutoff" },
|
||||
{ "uniform": "u_lowpass_width", "slider": "lowpass_width" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "screen" }
|
||||
],
|
||||
"output": "internal2"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/mipmap8",
|
||||
"name": "mipmap",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_smooth", "slider": "rasterbloom_smooth" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "internal2" },
|
||||
{ "sampler": "s_mipmap", "target": "mipmap" }
|
||||
],
|
||||
"output": "mipmap"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/phosphor_apply",
|
||||
"applytint": true,
|
||||
"name": "phosphor apply",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_phosphor_cutoff", "slider": "phosphor_cutoff" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "internal2" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
],
|
||||
"output": "internal1"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/phosphor_update",
|
||||
"name": "phosphor update",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_phosphor_power", "slider": "phosphor_power" },
|
||||
{ "uniform": "u_phosphor_amplitude","slider": "phosphor_amplitude" },
|
||||
{ "uniform": "u_phosphor_cutoff", "slider": "phosphor_cutoff" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "internal2" },
|
||||
{ "sampler": "s_phosphor", "target": "phosphor" }
|
||||
],
|
||||
"output": "phosphor"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/gaussx",
|
||||
"name": "Gaussian blur x",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal1" }
|
||||
],
|
||||
"output": "internal2"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/gaussy",
|
||||
"name": "Gaussian blur y",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_width", "slider": "blurwidth" },
|
||||
{ "uniform": "u_aspect","slider": "aspect" },
|
||||
{ "uniform": "u_gamma", "slider": "CRTgamma" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal2" }
|
||||
],
|
||||
"output": "blur"
|
||||
},
|
||||
{
|
||||
"effect": "crt-geom/crt-geom-deluxe",
|
||||
"name": "CRT",
|
||||
"uniforms": [
|
||||
{ "uniform": "curvature", "slider": "curvature" },
|
||||
{ "uniform": "R", "slider": "R" },
|
||||
{ "uniform": "d", "slider": "d" },
|
||||
{ "uniform": "angle", "slider": "angle" },
|
||||
{ "uniform": "cornersize", "slider": "cornersize" },
|
||||
{ "uniform": "cornersmooth","slider": "cornersmooth" },
|
||||
{ "uniform": "overscan", "slider": "overscan" },
|
||||
{ "uniform": "aspect", "slider": "aspect" },
|
||||
{ "uniform": "CRTgamma", "slider": "CRTgamma" },
|
||||
{ "uniform": "monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "aperture_strength","slider": "aperture_strength" },
|
||||
{ "uniform": "aperture_brightboost","slider": "aperture_brightboost" },
|
||||
{ "uniform": "spot_size", "slider": "spot_size" },
|
||||
{ "uniform": "spot_growth", "slider": "spot_growth" },
|
||||
{ "uniform": "spot_growth_power", "slider": "spot_growth_power" },
|
||||
{ "uniform": "u_interp", "slider": "x_interpolation" },
|
||||
{ "uniform": "halation", "slider": "halation" },
|
||||
{ "uniform": "blurwidth", "slider": "blurwidth" },
|
||||
{ "uniform": "rasterbloom", "slider": "rasterbloom" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "mpass_texture", "target": "internal1" },
|
||||
{ "sampler": "mask_texture", "texture": "bgfx/chains/crt-geom/aperture_1_2_bgr.png", "selection": "Shadow mask" },
|
||||
{ "sampler": "blur_texture", "target": "blur" },
|
||||
{ "sampler": "mipmap_texture", "target": "mipmap" }
|
||||
],
|
||||
"output": "output"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,183 +1,183 @@
|
||||
{
|
||||
"name": "CRT-geom",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "aperture_strength",
|
||||
"text": "Shadow mask strength",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "aperture_brightboost",
|
||||
"text": "Shadow mask brightness boost",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_size",
|
||||
"text": "Spot size minimum",
|
||||
"default": 0.3,
|
||||
"max" : 0.5,
|
||||
"min" : 0.1,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth",
|
||||
"text": "Spot size dilation",
|
||||
"default": 0.1,
|
||||
"max" : 0.4,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth_power",
|
||||
"text": "Spot dilation onset power",
|
||||
"default": 3.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.2,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "intenum",
|
||||
"name": "x_interpolation",
|
||||
"text": "Horizontal interpolation",
|
||||
"default": 2,
|
||||
"max" : 5,
|
||||
"min" : 0,
|
||||
"step" : 1,
|
||||
"format": "%s",
|
||||
"strings": [ "box", "linear", "Lanczos", "Catmull-Rom", "Mitchell-Netravali", "B-spline" ],
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "curvature",
|
||||
"text": "Enable curvature",
|
||||
"default": 1.0,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 1.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "R",
|
||||
"text": "Radius of curvature",
|
||||
"default": 3.5,
|
||||
"max" : 10.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "d",
|
||||
"text": "Distance to screen",
|
||||
"default": 2.0,
|
||||
"max" : 10.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "angle",
|
||||
"text": "Tilt ",
|
||||
"default": [ 0.0, 0.0 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [-1.0,-1.0 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersize",
|
||||
"text": "Rounded corner size",
|
||||
"default": 0.01,
|
||||
"max" : 0.10,
|
||||
"min" : 0.00,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersmooth",
|
||||
"text": "Border smoothness",
|
||||
"default": 1000,
|
||||
"max" : 2000,
|
||||
"min" : 100,
|
||||
"step" : 100,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "overscan",
|
||||
"text": "Overscan ",
|
||||
"default": [ 1.0, 1.0 ],
|
||||
"max" : [ 1.2, 1.2 ],
|
||||
"min" : [ 0.8, 0.8 ],
|
||||
"step" : 0.02,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "CRTgamma",
|
||||
"text": "Gamma of simulated CRT",
|
||||
"default": 2.4,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "aspect",
|
||||
"text": "Aspect ratio ",
|
||||
"default": [ 1.0, 0.75 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [ 0.3, 0.3 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" }
|
||||
],
|
||||
"targets": [
|
||||
],
|
||||
"passes": [
|
||||
{
|
||||
"effect": "crt-geom/crt-geom",
|
||||
"applytint": true,
|
||||
"name": "CRT",
|
||||
"uniforms": [
|
||||
{ "uniform": "curvature", "slider": "curvature" },
|
||||
{ "uniform": "R", "slider": "R" },
|
||||
{ "uniform": "d", "slider": "d" },
|
||||
{ "uniform": "angle", "slider": "angle" },
|
||||
{ "uniform": "cornersize", "slider": "cornersize" },
|
||||
{ "uniform": "cornersmooth","slider": "cornersmooth" },
|
||||
{ "uniform": "overscan", "slider": "overscan" },
|
||||
{ "uniform": "aspect", "slider": "aspect" },
|
||||
{ "uniform": "CRTgamma", "slider": "CRTgamma" },
|
||||
{ "uniform": "monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "aperture_strength", "slider": "aperture_strength" },
|
||||
{ "uniform": "aperture_brightboost","slider": "aperture_brightboost" },
|
||||
{ "uniform": "spot_size", "slider": "spot_size" },
|
||||
{ "uniform": "spot_growth", "slider": "spot_growth" },
|
||||
{ "uniform": "spot_growth_power", "slider": "spot_growth_power" },
|
||||
{ "uniform": "u_interp", "slider": "x_interpolation" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "mpass_texture", "target": "screen" },
|
||||
{ "sampler": "mask_texture", "texture": "bgfx/chains/crt-geom/aperture_1_2_bgr.png", "selection": "Shadow mask" }
|
||||
],
|
||||
"output": "output"
|
||||
}
|
||||
]
|
||||
"name": "CRT-geom",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "aperture_strength",
|
||||
"text": "Shadow mask strength",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "aperture_brightboost",
|
||||
"text": "Shadow mask brightness boost",
|
||||
"default": 0.4,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_size",
|
||||
"text": "Spot size minimum",
|
||||
"default": 0.3,
|
||||
"max" : 0.5,
|
||||
"min" : 0.1,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth",
|
||||
"text": "Spot size dilation",
|
||||
"default": 0.1,
|
||||
"max" : 0.4,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "spot_growth_power",
|
||||
"text": "Spot dilation onset power",
|
||||
"default": 3.0,
|
||||
"max" : 4.0,
|
||||
"min" : 0.2,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "intenum",
|
||||
"name": "x_interpolation",
|
||||
"text": "Horizontal interpolation",
|
||||
"default": 2,
|
||||
"max" : 5,
|
||||
"min" : 0,
|
||||
"step" : 1,
|
||||
"format": "%s",
|
||||
"strings": [ "box", "linear", "Lanczos", "Catmull-Rom", "Mitchell-Netravali", "B-spline" ],
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "curvature",
|
||||
"text": "Enable curvature",
|
||||
"default": 1.0,
|
||||
"max" : 1.0,
|
||||
"min" : 0.0,
|
||||
"step" : 1.0,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "R",
|
||||
"text": "Radius of curvature",
|
||||
"default": 3.5,
|
||||
"max" : 10.0,
|
||||
"min" : 0.5,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "d",
|
||||
"text": "Distance to screen",
|
||||
"default": 2.0,
|
||||
"max" : 10.0,
|
||||
"min" : 0.1,
|
||||
"step" : 0.1,
|
||||
"format": "%1.1f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "angle",
|
||||
"text": "Tilt ",
|
||||
"default": [ 0.0, 0.0 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [-1.0,-1.0 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersize",
|
||||
"text": "Rounded corner size",
|
||||
"default": 0.01,
|
||||
"max" : 0.10,
|
||||
"min" : 0.00,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "cornersmooth",
|
||||
"text": "Border smoothness",
|
||||
"default": 1000,
|
||||
"max" : 2000,
|
||||
"min" : 100,
|
||||
"step" : 100,
|
||||
"format": "%1.0f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "overscan",
|
||||
"text": "Overscan ",
|
||||
"default": [ 1.0, 1.0 ],
|
||||
"max" : [ 1.2, 1.2 ],
|
||||
"min" : [ 0.8, 0.8 ],
|
||||
"step" : 0.02,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "CRTgamma",
|
||||
"text": "Gamma of simulated CRT",
|
||||
"default": 2.4,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "vec2",
|
||||
"name": "aspect",
|
||||
"text": "Aspect ratio ",
|
||||
"default": [ 1.0, 0.75 ],
|
||||
"max" : [ 1.0, 1.0 ],
|
||||
"min" : [ 0.3, 0.3 ],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" }
|
||||
],
|
||||
"targets": [
|
||||
],
|
||||
"passes": [
|
||||
{
|
||||
"effect": "crt-geom/crt-geom",
|
||||
"applytint": true,
|
||||
"name": "CRT",
|
||||
"uniforms": [
|
||||
{ "uniform": "curvature", "slider": "curvature" },
|
||||
{ "uniform": "R", "slider": "R" },
|
||||
{ "uniform": "d", "slider": "d" },
|
||||
{ "uniform": "angle", "slider": "angle" },
|
||||
{ "uniform": "cornersize", "slider": "cornersize" },
|
||||
{ "uniform": "cornersmooth","slider": "cornersmooth" },
|
||||
{ "uniform": "overscan", "slider": "overscan" },
|
||||
{ "uniform": "aspect", "slider": "aspect" },
|
||||
{ "uniform": "CRTgamma", "slider": "CRTgamma" },
|
||||
{ "uniform": "monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "aperture_strength", "slider": "aperture_strength" },
|
||||
{ "uniform": "aperture_brightboost","slider": "aperture_brightboost" },
|
||||
{ "uniform": "spot_size", "slider": "spot_size" },
|
||||
{ "uniform": "spot_growth", "slider": "spot_growth" },
|
||||
{ "uniform": "spot_growth_power", "slider": "spot_growth_power" },
|
||||
{ "uniform": "u_interp", "slider": "x_interpolation" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "mpass_texture", "target": "screen" },
|
||||
{ "sampler": "mask_texture", "texture": "bgfx/chains/crt-geom/aperture_1_2_bgr.png", "selection": "Shadow mask" }
|
||||
],
|
||||
"output": "output"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ "name": "Default Nearest-Neighbor Filter",
|
||||
{ "name": "Default Nearest-Neighbor Filter",
|
||||
"author": "Ryan Holtz",
|
||||
"targets": [
|
||||
{ "name": "temp",
|
||||
{ "name": "temp",
|
||||
"mode": "guest",
|
||||
"bilinear": true
|
||||
}
|
||||
],
|
||||
"passes": [
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"applytint": true,
|
||||
"name": "Copy To Filtered Texture",
|
||||
"input": [
|
||||
@ -15,7 +15,7 @@
|
||||
],
|
||||
"output": "temp"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Upscale",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "temp" }
|
||||
|
@ -34,7 +34,7 @@
|
||||
],
|
||||
"output": "scaled_out"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "scaled_out" }
|
||||
|
@ -90,7 +90,7 @@
|
||||
{ "type": "float", "name": "scanline_scale", "text": "Overall Scanline Scale", "default": 1.00, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
{ "type": "float", "name": "scanline_height", "text": "Individual Scanline Scale", "default": 1.00, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
{ "type": "float", "name": "scanline_variation", "text": "Scanline Variation", "default": 1.00, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
{ "type": "float", "name": "scanline_bright_scale", "text": "Scanline Brightness Scale", "default": 2.00, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
{ "type": "float", "name": "scanline_bright_scale", "text": "Scanline Brightness Scale", "default": 2.00, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
{ "type": "float", "name": "scanline_bright_offset", "text": "Scanline Brightness Offset", "default": 1.50, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
{ "type": "float", "name": "scanline_jitter_amount", "text": "Scanline Jitter Amount", "default": 0.00, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
{ "type": "float", "name": "scanline_variation", "text": "Scanline Variation", "default": 1.00, "max": 4.00, "min": 0.0, "step": 0.01, "format": "%1.2f", "screen": "crt" },
|
||||
@ -181,12 +181,12 @@
|
||||
"bilinear": false,
|
||||
"doublebuffer": true
|
||||
},
|
||||
{ "name": "internal",
|
||||
{ "name": "internal",
|
||||
"mode": "native",
|
||||
"scale": 2,
|
||||
"doublebuffer": true
|
||||
},
|
||||
{ "name": "previous",
|
||||
{ "name": "previous",
|
||||
"mode": "native",
|
||||
"scale": 2,
|
||||
"doublebuffer": true
|
||||
@ -195,7 +195,7 @@
|
||||
|
||||
// passes (required): The list of individual shaders to invoke, and any dynamic input parameters they need.
|
||||
"passes": [
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Blit to filterable surface for NTSC",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "and", "name": "adjustments", "value": 0 },
|
||||
@ -314,7 +314,7 @@
|
||||
// value: Any valid ASCII string that names a target.
|
||||
"output": "ntsc"
|
||||
},
|
||||
{ "effect": "hlsl/ntsc_decode",
|
||||
{ "effect": "hlsl/ntsc_decode",
|
||||
"name": "NTSC Decode",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "or", "name": "adjustments", "value": 0 },
|
||||
@ -340,7 +340,7 @@
|
||||
],
|
||||
"output": "guest"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "NTSC Skip",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "notequal", "combine": "and", "name": "adjustments", "value": 0 },
|
||||
@ -352,7 +352,7 @@
|
||||
"applytint": true,
|
||||
"output": "guest"
|
||||
},
|
||||
{ "effect": "hlsl/color",
|
||||
{ "effect": "hlsl/color",
|
||||
"name": "Color Convolution",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "name": "adjustments", "value": 0 }
|
||||
@ -370,14 +370,14 @@
|
||||
],
|
||||
"output": "guest"
|
||||
},
|
||||
{ "effect": "hlsl/prescale",
|
||||
{ "effect": "hlsl/prescale",
|
||||
"name": "Prescale",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "guest" }
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "hlsl/deconverge",
|
||||
{ "effect": "hlsl/deconverge",
|
||||
"name": "Deconvergence",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "or", "name": "adjustments", "value": 0 },
|
||||
@ -424,7 +424,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "hlsl/defocus",
|
||||
{ "effect": "hlsl/defocus",
|
||||
"name": "Defocus Pass",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "or", "name": "adjustments", "value": 0 },
|
||||
@ -438,7 +438,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "hlsl/post",
|
||||
{ "effect": "hlsl/post",
|
||||
"name": "Non-Bloom Post Pass",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "or", "name": "adjustments", "value": 0 },
|
||||
@ -468,7 +468,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "hlsl/phosphor",
|
||||
{ "effect": "hlsl/phosphor",
|
||||
"name": "Phosphor Decay",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "or", "name": "adjustments", "value": 0 },
|
||||
@ -484,7 +484,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "hlsl/phosphor",
|
||||
{ "effect": "hlsl/phosphor",
|
||||
"name": "Phosphor Store",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "or", "name": "adjustments", "value": 0 },
|
||||
@ -501,23 +501,23 @@
|
||||
"output": "previous"
|
||||
},
|
||||
{
|
||||
"effect": "hlsl/chroma",
|
||||
"name": "Phosphor Chromaticity Conversion",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "name": "adjustments", "value": 0 }
|
||||
],
|
||||
"uniforms": [
|
||||
{ "uniform": "u_y_gain", "slider": "chroma_y_gain" },
|
||||
{ "uniform": "u_chroma_a", "slider": "chroma_a" },
|
||||
{ "uniform": "u_chroma_b", "slider": "chroma_b" },
|
||||
"effect": "hlsl/chroma",
|
||||
"name": "Phosphor Chromaticity Conversion",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "name": "adjustments", "value": 0 }
|
||||
],
|
||||
"uniforms": [
|
||||
{ "uniform": "u_y_gain", "slider": "chroma_y_gain" },
|
||||
{ "uniform": "u_chroma_a", "slider": "chroma_a" },
|
||||
{ "uniform": "u_chroma_b", "slider": "chroma_b" },
|
||||
{ "uniform": "u_chroma_c", "slider": "chroma_c" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal" }
|
||||
],
|
||||
"output": "internal"
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal" }
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "hlsl/distortion",
|
||||
{ "effect": "hlsl/distortion",
|
||||
"name": "Distortion Pass",
|
||||
"disablewhen": [
|
||||
{ "type": "slider", "condition": "equal", "combine": "or", "name": "adjustments", "value": 0 },
|
||||
@ -577,7 +577,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal" }
|
||||
|
@ -51,7 +51,7 @@
|
||||
],
|
||||
"output": "scaled_out"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "scaled_out" }
|
||||
|
@ -51,7 +51,7 @@
|
||||
],
|
||||
"output": "scaled_out"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "scaled_out" }
|
||||
|
@ -51,7 +51,7 @@
|
||||
],
|
||||
"output": "scaled_out"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "scaled_out" }
|
||||
|
@ -1,110 +1,110 @@
|
||||
{
|
||||
"name": "lcd-grid",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "persistence",
|
||||
"text": "Persistence",
|
||||
"default": 0.1,
|
||||
"max" : 0.99,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "gain",
|
||||
"text": "Gain",
|
||||
"default": 1.0,
|
||||
"max" : 2.0,
|
||||
"min" : -1.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "blacklevel",
|
||||
"text": "Black level",
|
||||
"default": 0.0,
|
||||
"max" : 2.0,
|
||||
"min" : -1.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "ambient",
|
||||
"text": "Ambient",
|
||||
"default": 0.0,
|
||||
"max" : 2.0,
|
||||
"min" : -1.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "LCDgamma",
|
||||
"text": "Gamma of simulated LCD",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "intenum",
|
||||
"name": "BGR",
|
||||
"text": "Subpixel layout",
|
||||
"default": 0,
|
||||
"max" : 1,
|
||||
"min" : 0,
|
||||
"step" : 1,
|
||||
"format": "%s",
|
||||
"screen": "lcd",
|
||||
"strings": [ "RGB", "BGR" ] },
|
||||
{ "type": "vec2",
|
||||
"name": "subpixsize",
|
||||
"text": "Subpixel size ",
|
||||
"default": [0.5,0.63],
|
||||
"max" : [1.0,1.0],
|
||||
"min" : [0.1,0.1],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "color",
|
||||
"name": "rsubpix",
|
||||
"text": "R subpixel ",
|
||||
"default": [1.0,0.0,0.0],
|
||||
"max" : [1.0,1.0,1.0],
|
||||
"min" : [0.0,0.0,0.0],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "color",
|
||||
"name": "gsubpix",
|
||||
"text": "G subpixel ",
|
||||
"default": [0.0,1.0,0.0],
|
||||
"max" : [1.0,1.0,1.0],
|
||||
"min" : [0.0,0.0,0.0],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "color",
|
||||
"name": "bsubpix",
|
||||
"text": "B subpixel ",
|
||||
"default": [0.0,0.0,1.0],
|
||||
"max" : [1.0,1.0,1.0],
|
||||
"min" : [0.0,0.0,0.0],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" }
|
||||
],
|
||||
"name": "lcd-grid",
|
||||
"author": "cgwg",
|
||||
"sliders": [
|
||||
{ "type": "float",
|
||||
"name": "persistence",
|
||||
"text": "Persistence",
|
||||
"default": 0.1,
|
||||
"max" : 0.99,
|
||||
"min" : 0.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "gain",
|
||||
"text": "Gain",
|
||||
"default": 1.0,
|
||||
"max" : 2.0,
|
||||
"min" : -1.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "blacklevel",
|
||||
"text": "Black level",
|
||||
"default": 0.0,
|
||||
"max" : 2.0,
|
||||
"min" : -1.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "ambient",
|
||||
"text": "Ambient",
|
||||
"default": 0.0,
|
||||
"max" : 2.0,
|
||||
"min" : -1.0,
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "float",
|
||||
"name": "LCDgamma",
|
||||
"text": "Gamma of simulated LCD",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "raster" },
|
||||
{ "type": "float",
|
||||
"name": "monitorgamma",
|
||||
"text": "Gamma of output display",
|
||||
"default": 2.2,
|
||||
"max" : 4.0,
|
||||
"min" : 0.7,
|
||||
"step" : 0.05,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "intenum",
|
||||
"name": "BGR",
|
||||
"text": "Subpixel layout",
|
||||
"default": 0,
|
||||
"max" : 1,
|
||||
"min" : 0,
|
||||
"step" : 1,
|
||||
"format": "%s",
|
||||
"screen": "lcd",
|
||||
"strings": [ "RGB", "BGR" ] },
|
||||
{ "type": "vec2",
|
||||
"name": "subpixsize",
|
||||
"text": "Subpixel size ",
|
||||
"default": [0.5,0.63],
|
||||
"max" : [1.0,1.0],
|
||||
"min" : [0.1,0.1],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "color",
|
||||
"name": "rsubpix",
|
||||
"text": "R subpixel ",
|
||||
"default": [1.0,0.0,0.0],
|
||||
"max" : [1.0,1.0,1.0],
|
||||
"min" : [0.0,0.0,0.0],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "color",
|
||||
"name": "gsubpix",
|
||||
"text": "G subpixel ",
|
||||
"default": [0.0,1.0,0.0],
|
||||
"max" : [1.0,1.0,1.0],
|
||||
"min" : [0.0,0.0,0.0],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" },
|
||||
{ "type": "color",
|
||||
"name": "bsubpix",
|
||||
"text": "B subpixel ",
|
||||
"default": [0.0,0.0,1.0],
|
||||
"max" : [1.0,1.0,1.0],
|
||||
"min" : [0.0,0.0,0.0],
|
||||
"step" : 0.01,
|
||||
"format": "%1.2f",
|
||||
"screen": "lcd" }
|
||||
],
|
||||
"targets": [
|
||||
{ "name": "motionblur",
|
||||
{ "name": "motionblur",
|
||||
"mode": "guest"
|
||||
}
|
||||
],
|
||||
@ -113,11 +113,11 @@
|
||||
"effect": "lcd-grid/persistence",
|
||||
"name": "LCD persistence",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_persistence", "slider": "persistence" }
|
||||
{ "uniform": "u_persistence", "slider": "persistence" }
|
||||
],
|
||||
"input": [
|
||||
{ "sampler": "s_screen", "target": "screen" },
|
||||
{ "sampler": "s_motionblur","target": "motionblur" }
|
||||
{ "sampler": "s_screen", "target": "screen" },
|
||||
{ "sampler": "s_motionblur","target": "motionblur" }
|
||||
],
|
||||
"output": "motionblur"
|
||||
},
|
||||
@ -126,20 +126,20 @@
|
||||
"applytint": true,
|
||||
"name": "LCD",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_rsubpix", "slider": "rsubpix" },
|
||||
{ "uniform": "u_gsubpix", "slider": "gsubpix" },
|
||||
{ "uniform": "u_bsubpix", "slider": "bsubpix" },
|
||||
{ "uniform": "u_gain", "slider": "gain" },
|
||||
{ "uniform": "u_blacklevel","slider": "blacklevel" },
|
||||
{ "uniform": "u_ambient", "slider": "ambient" },
|
||||
{ "uniform": "u_LCDgamma", "slider": "LCDgamma" },
|
||||
{ "uniform": "u_monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "u_subpixsize","slider": "subpixsize" },
|
||||
{ "uniform": "u_BGR", "slider": "BGR" }
|
||||
{ "uniform": "u_rsubpix", "slider": "rsubpix" },
|
||||
{ "uniform": "u_gsubpix", "slider": "gsubpix" },
|
||||
{ "uniform": "u_bsubpix", "slider": "bsubpix" },
|
||||
{ "uniform": "u_gain", "slider": "gain" },
|
||||
{ "uniform": "u_blacklevel","slider": "blacklevel" },
|
||||
{ "uniform": "u_ambient", "slider": "ambient" },
|
||||
{ "uniform": "u_LCDgamma", "slider": "LCDgamma" },
|
||||
{ "uniform": "u_monitorgamma","slider": "monitorgamma" },
|
||||
{ "uniform": "u_subpixsize","slider": "subpixsize" },
|
||||
{ "uniform": "u_BGR", "slider": "BGR" }
|
||||
],
|
||||
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "motionblur" }
|
||||
{ "sampler": "s_tex", "target": "motionblur" }
|
||||
],
|
||||
|
||||
"output": "output"
|
||||
|
@ -31,14 +31,14 @@
|
||||
],
|
||||
|
||||
"passes": [
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Blit to scalable target",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "screen" }
|
||||
],
|
||||
"output": "guest"
|
||||
},
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 1, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -48,7 +48,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 1, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -58,7 +58,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 2, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -68,7 +68,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_left_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 2, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -92,7 +92,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal" }
|
||||
|
@ -31,14 +31,14 @@
|
||||
],
|
||||
|
||||
"passes": [
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Blit to scalable target",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "screen" }
|
||||
],
|
||||
"output": "guest"
|
||||
},
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
"name": "Gaussian Blur 1, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -48,7 +48,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
"name": "Gaussian Blur 1, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -58,7 +58,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
"name": "Gaussian Blur 2, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -68,7 +68,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
{ "effect": "pillarbox_left_vertical/gaussian",
|
||||
"name": "Gaussian Blur 2, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -92,7 +92,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal" }
|
||||
|
@ -31,14 +31,14 @@
|
||||
],
|
||||
|
||||
"passes": [
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Blit to scalable target",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "screen" }
|
||||
],
|
||||
"output": "guest"
|
||||
},
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 1, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -48,7 +48,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 1, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -58,7 +58,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 2, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -68,7 +68,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
{ "effect": "pillarbox_right_horizontal/gaussian",
|
||||
"name": "Gaussian Blur 2, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -92,7 +92,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal" }
|
||||
|
@ -31,14 +31,14 @@
|
||||
],
|
||||
|
||||
"passes": [
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Blit to scalable target",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "screen" }
|
||||
],
|
||||
"output": "guest"
|
||||
},
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
"name": "Gaussian Blur 1, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -48,7 +48,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
"name": "Gaussian Blur 1, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -58,7 +58,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
"name": "Gaussian Blur 2, Horizontal",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 1.0, 0.0 ] }
|
||||
@ -68,7 +68,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
{ "effect": "pillarbox_right_vertical/gaussian",
|
||||
"name": "Gaussian Blur 2, Vertical",
|
||||
"uniforms": [
|
||||
{ "uniform": "u_dimension", "value": [ 0.0, 1.0 ] }
|
||||
@ -92,7 +92,7 @@
|
||||
],
|
||||
"output": "internal"
|
||||
},
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"name": "Final Blit",
|
||||
"input": [
|
||||
{ "sampler": "s_tex", "target": "internal" }
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ "name": "Default Nearest-Neighbor Filter",
|
||||
{ "name": "Default Nearest-Neighbor Filter",
|
||||
"author": "Ryan Holtz",
|
||||
"passes": [
|
||||
{ "effect": "misc/blit",
|
||||
{ "effect": "misc/blit",
|
||||
"applytint": true,
|
||||
"name": "Unfiltered Upscale",
|
||||
"input": [
|
||||
|
@ -27,29 +27,29 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/blurs/vs_smart-blur",
|
||||
"fragment": "chains/blurs/fs_smart-blur",
|
||||
"uniforms": [
|
||||
{ "name": "s_p", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "SB_THRESHOLD", "type": "vec4", "values": [ 0.2, 0.2, 0.2, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/blurs/vs_smart-blur",
|
||||
"fragment": "chains/blurs/fs_smart-blur",
|
||||
"uniforms": [
|
||||
{ "name": "s_p", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "SB_THRESHOLD", "type": "vec4", "values": [ 0.2, 0.2, 0.2, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -1,51 +1,51 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_crt-geom",
|
||||
"fragment": "chains/crt-geom/fs_crt-geom-deluxe",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_rotation_type", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "mpass_texture", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "mask_texture", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "blur_texture", "type": "int", "values": [ 2 ] },
|
||||
{ "name": "mipmap_texture", "type": "int", "values": [ 3 ] },
|
||||
{ "name": "curvature", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "CRTgamma", "type": "vec4", "values": [ 2.4, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "monitorgamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "overscan", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "aspect", "type": "vec4", "values": [ 1.0, 0.75,0.0, 0.0 ] },
|
||||
{ "name": "d", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "R", "type": "vec4", "values": [ 3.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "angle", "type": "vec4", "values": [ 0.0,-0.05,0.0, 0.0 ] },
|
||||
{ "name": "cornersize", "type": "vec4", "values": [ 0.01,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "cornersmooth", "type": "vec4", "values": [ 1000.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_strength", "type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_brightboost","type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_size", "type": "vec4", "values": [ 0.3,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth","type": "vec4", "values": [ 0.1,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth_power", "type": "vec4", "values": [ 3.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "u_interp", "type": "vec4", "values": [ 2.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "halation", "type": "vec4", "values": [ 0.1,0.0,0.0,0.0 ] },
|
||||
{ "name": "blurwidth", "type": "vec4", "values": [ 2.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "rasterbloom","type": "vec4", "values": [ 0.01,0.0,0.0,0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_crt-geom",
|
||||
"fragment": "chains/crt-geom/fs_crt-geom-deluxe",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_rotation_type", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "mpass_texture", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "mask_texture", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "blur_texture", "type": "int", "values": [ 2 ] },
|
||||
{ "name": "mipmap_texture", "type": "int", "values": [ 3 ] },
|
||||
{ "name": "curvature", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "CRTgamma", "type": "vec4", "values": [ 2.4, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "monitorgamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "overscan", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "aspect", "type": "vec4", "values": [ 1.0, 0.75,0.0, 0.0 ] },
|
||||
{ "name": "d", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "R", "type": "vec4", "values": [ 3.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "angle", "type": "vec4", "values": [ 0.0,-0.05,0.0, 0.0 ] },
|
||||
{ "name": "cornersize", "type": "vec4", "values": [ 0.01,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "cornersmooth", "type": "vec4", "values": [ 1000.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_strength", "type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_brightboost","type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_size", "type": "vec4", "values": [ 0.3,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth", "type": "vec4", "values": [ 0.1,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth_power", "type": "vec4", "values": [ 3.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "u_interp", "type": "vec4", "values": [ 2.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "halation", "type": "vec4", "values": [ 0.1,0.0,0.0,0.0 ] },
|
||||
{ "name": "blurwidth", "type": "vec4", "values": [ 2.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "rasterbloom", "type": "vec4", "values": [ 0.01,0.0,0.0,0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,46 +1,46 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_crt-geom",
|
||||
"fragment": "chains/crt-geom/fs_crt-geom",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_rotation_type", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "mpass_texture", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "mask_texture", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "curvature", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "CRTgamma", "type": "vec4", "values": [ 2.4, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "monitorgamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "overscan", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "aspect", "type": "vec4", "values": [ 1.0, 0.75,0.0, 0.0 ] },
|
||||
{ "name": "d", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "R", "type": "vec4", "values": [ 3.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "angle", "type": "vec4", "values": [ 0.0,-0.05,0.0, 0.0 ] },
|
||||
{ "name": "cornersize", "type": "vec4", "values": [ 0.01,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "cornersmooth", "type": "vec4", "values": [ 1000.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_strength", "type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_brightboost","type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_size", "type": "vec4", "values": [ 0.3,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth","type": "vec4", "values": [ 0.1,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth_power", "type": "vec4", "values": [ 3.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "u_interp", "type": "vec4", "values": [ 2.0,0.0,0.0,0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_crt-geom",
|
||||
"fragment": "chains/crt-geom/fs_crt-geom",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_rotation_type", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "mpass_texture", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "mask_texture", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "curvature", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "CRTgamma", "type": "vec4", "values": [ 2.4, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "monitorgamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "overscan", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "aspect", "type": "vec4", "values": [ 1.0, 0.75,0.0, 0.0 ] },
|
||||
{ "name": "d", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "R", "type": "vec4", "values": [ 3.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "angle", "type": "vec4", "values": [ 0.0,-0.05,0.0, 0.0 ] },
|
||||
{ "name": "cornersize", "type": "vec4", "values": [ 0.01,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "cornersmooth", "type": "vec4", "values": [ 1000.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_strength", "type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "aperture_brightboost","type": "vec4", "values": [ 0.25,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_size", "type": "vec4", "values": [ 0.3,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth", "type": "vec4", "values": [ 0.1,0.0,0.0,0.0 ] },
|
||||
{ "name": "spot_growth_power", "type": "vec4", "values": [ 3.0,0.0,0.0,0.0 ] },
|
||||
{ "name": "u_interp", "type": "vec4", "values": [ 2.0,0.0,0.0,0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,29 +1,29 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_gaussx",
|
||||
"fragment": "chains/crt-geom/fs_gaussx",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_width", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_aspect", "type": "vec4", "values": [ 1.0,0.75, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_gaussx",
|
||||
"fragment": "chains/crt-geom/fs_gaussx",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_width", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_aspect", "type": "vec4", "values": [ 1.0,0.75, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,29 +1,29 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_gaussy",
|
||||
"fragment": "chains/crt-geom/fs_gaussy",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_width", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_aspect", "type": "vec4", "values": [ 1.0,0.75, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_gaussy",
|
||||
"fragment": "chains/crt-geom/fs_gaussy",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_width", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_aspect", "type": "vec4", "values": [ 1.0,0.75, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,28 +1,28 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_lowpass",
|
||||
"fragment": "chains/crt-geom/fs_lowpass",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_lowpass_cutoff","type": "vec4", "values": [ 200.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_lowpass_width", "type": "vec4", "values": [ 80.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_lowpass",
|
||||
"fragment": "chains/crt-geom/fs_lowpass",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_lowpass_cutoff","type": "vec4", "values": [ 200.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_lowpass_width", "type": "vec4", "values": [ 80.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,29 +1,29 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_mipmap8",
|
||||
"fragment": "chains/crt-geom/fs_mipmap8",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_smooth", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_mipmap", "type": "int", "values": [ 1 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_mipmap8",
|
||||
"fragment": "chains/crt-geom/fs_mipmap8",
|
||||
"uniforms": [
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_smooth", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_mipmap", "type": "int", "values": [ 1 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,30 +1,30 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_phosphor_apply",
|
||||
"fragment": "chains/crt-geom/fs_phosphor_apply",
|
||||
"uniforms": [
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_phosphor", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "u_phosphor_power", "type": "vec4", "values": [ 1.3, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_amplitude","type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_cutoff", "type": "vec4", "values": [300.0,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_phosphor_apply",
|
||||
"fragment": "chains/crt-geom/fs_phosphor_apply",
|
||||
"uniforms": [
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_phosphor", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "u_phosphor_power", "type": "vec4", "values": [ 1.3, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_amplitude","type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_cutoff", "type": "vec4", "values": [300.0,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,30 +1,30 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_phosphor_update",
|
||||
"fragment": "chains/crt-geom/fs_phosphor_update",
|
||||
"uniforms": [
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_phosphor", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "u_phosphor_power", "type": "vec4", "values": [ 1.3, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_amplitude","type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_cutoff", "type": "vec4", "values": [300.0,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/crt-geom/vs_phosphor_update",
|
||||
"fragment": "chains/crt-geom/fs_phosphor_update",
|
||||
"uniforms": [
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_phosphor", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "u_phosphor_power", "type": "vec4", "values": [ 1.3, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_amplitude","type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor_cutoff", "type": "vec4", "values": [300.0,0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -6,95 +6,95 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
|
||||
// vertex (required): The vertex shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"vertex": "chains/default/vs_blit",
|
||||
"vertex": "chains/default/vs_blit",
|
||||
|
||||
// pixel/fragment (required): The pixel or fragment shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"fragment": "chains/default/fs_blit",
|
||||
"fragment": "chains/default/fs_blit",
|
||||
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
}
|
@ -7,29 +7,29 @@
|
||||
/* License: GNU-GPL */
|
||||
/* Adapted by guest(r) on 16.4.2007 */
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/eagle/vs_eagle",
|
||||
"fragment": "chains/eagle/fs_eagle",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/eagle/vs_eagle",
|
||||
"fragment": "chains/eagle/fs_eagle",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,24 +7,24 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
}
|
@ -7,24 +7,24 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
}
|
@ -7,24 +7,24 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "dstcolor",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "dstalpha",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "dstcolor",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "dstalpha",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
}
|
@ -6,24 +6,24 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_gui",
|
||||
"fragment": "fs_gui",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
}
|
@ -7,115 +7,115 @@
|
||||
//============================================================
|
||||
{
|
||||
// blend (required): The blend state for this effect.
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
|
||||
// vertex (required): The vertex shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"vertex": "chains/hlsl/vs_blit",
|
||||
"vertex": "chains/hlsl/vs_blit",
|
||||
|
||||
// pixel/fragment (required): The pixel or fragment shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"fragment": "chains/hlsl/fs_blit",
|
||||
"fragment": "chains/hlsl/fs_blit",
|
||||
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
}
|
@ -6,28 +6,28 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_chroma",
|
||||
"fragment": "chains/hlsl/fs_chroma",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0.0 ] },
|
||||
{ "name": "u_y_gain", "type": "vec4", "values": [ 0.2124, 0.7011, 0.0866, 0.0 ] },
|
||||
{ "name": "u_chroma_a", "type": "vec4", "values": [ 0.630, 0.340, 0.0, 0.0 ] },
|
||||
{ "name": "u_chroma_b", "type": "vec4", "values": [ 0.310, 0.595, 0.0, 0.0 ] },
|
||||
{ "name": "u_chroma_c", "type": "vec4", "values": [ 0.155, 0.070, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_chroma",
|
||||
"fragment": "chains/hlsl/fs_chroma",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0.0 ] },
|
||||
{ "name": "u_y_gain", "type": "vec4", "values": [ 0.2124, 0.7011, 0.0866, 0.0 ] },
|
||||
{ "name": "u_chroma_a", "type": "vec4", "values": [ 0.630, 0.340, 0.0, 0.0 ] },
|
||||
{ "name": "u_chroma_b", "type": "vec4", "values": [ 0.310, 0.595, 0.0, 0.0 ] },
|
||||
{ "name": "u_chroma_c", "type": "vec4", "values": [ 0.155, 0.070, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -6,30 +6,30 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_color",
|
||||
"fragment": "chains/hlsl/fs_color",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_red_ratios", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_grn_ratios", "type": "vec4", "values": [ 0.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_blu_ratios", "type": "vec4", "values": [ 0.0, 0.0, 1.0, 0.0 ] },
|
||||
{ "name": "u_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scale", "type": "vec4", "values": [ 0.95, 0.95, 0.95, 0.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.5, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_color",
|
||||
"fragment": "chains/hlsl/fs_color",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_red_ratios", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_grn_ratios", "type": "vec4", "values": [ 0.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_blu_ratios", "type": "vec4", "values": [ 0.0, 0.0, 1.0, 0.0 ] },
|
||||
{ "name": "u_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scale", "type": "vec4", "values": [ 0.95, 0.95, 0.95, 0.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.5, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,31 +7,31 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_deconverge",
|
||||
"fragment": "chains/hlsl/fs_deconverge",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_size", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_converge_red", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_converge_green", "type": "vec4", "values": [ 0.0, 0.5, 0.0, 0.0 ] },
|
||||
{ "name": "u_converge_blue", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radial_converge_red", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radial_converge_green", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radial_converge_blue", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_deconverge",
|
||||
"fragment": "chains/hlsl/fs_deconverge",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_size", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_converge_red", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_converge_green", "type": "vec4", "values": [ 0.0, 0.5, 0.0, 0.0 ] },
|
||||
{ "name": "u_converge_blue", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radial_converge_red", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radial_converge_green", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radial_converge_blue", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,26 +6,26 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_defocus",
|
||||
"fragment": "chains/hlsl/fs_defocus",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_defocus", "type": "vec4", "values": [ 0.5, 0.5, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_defocus",
|
||||
"fragment": "chains/hlsl/fs_defocus",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_defocus", "type": "vec4", "values": [ 0.5, 0.5, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,37 +7,37 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_distortion",
|
||||
"fragment": "chains/hlsl/fs_distortion",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0.0 ] },
|
||||
{ "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_count", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_target_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_target_scale", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_distortion", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_cubic_distortion", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_distort_corner", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_round_corner", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_smooth_border", "type": "vec4", "values": [ 0.05, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_vignetting", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_reflection", "type": "vec4", "values": [ 0.30, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_distortion",
|
||||
"fragment": "chains/hlsl/fs_distortion",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0.0 ] },
|
||||
{ "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_count", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_target_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_target_scale", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_distortion", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_cubic_distortion", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_distort_corner", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_round_corner", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_smooth_border", "type": "vec4", "values": [ 0.05, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_vignetting", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_reflection", "type": "vec4", "values": [ 0.30, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,37 +7,37 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_ntsc_decode",
|
||||
"fragment": "chains/hlsl/fs_ntsc_decode",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_screen", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_a_value", "type": "vec4", "values": [ 0.5, 0.5, 0.5, 0.5 ] },
|
||||
{ "name": "u_b_value", "type": "vec4", "values": [ 0.5, 0.5, 0.5, 0.5 ] },
|
||||
{ "name": "u_cc_value", "type": "vec4", "values": [ 3.5795454, 3.5795454, 3.5795454, 3.5795454 ] },
|
||||
{ "name": "u_o_value", "type": "vec4", "values": [ 1.570796325, 1.570796325, 1.570796325, 1.570796325 ] },
|
||||
{ "name": "u_scan_time", "type": "vec4", "values": [ 52.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_notch_width", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_y_freq_response", "type": "vec4", "values": [ 6.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_i_freq_response", "type": "vec4", "values": [ 1.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_q_freq_response", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_amount", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_ntsc_decode",
|
||||
"fragment": "chains/hlsl/fs_ntsc_decode",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_screen", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_a_value", "type": "vec4", "values": [ 0.5, 0.5, 0.5, 0.5 ] },
|
||||
{ "name": "u_b_value", "type": "vec4", "values": [ 0.5, 0.5, 0.5, 0.5 ] },
|
||||
{ "name": "u_cc_value", "type": "vec4", "values": [ 3.5795454, 3.5795454, 3.5795454, 3.5795454 ] },
|
||||
{ "name": "u_o_value", "type": "vec4", "values": [ 1.570796325, 1.570796325, 1.570796325, 1.570796325 ] },
|
||||
{ "name": "u_scan_time", "type": "vec4", "values": [ 52.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_notch_width", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_y_freq_response", "type": "vec4", "values": [ 6.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_i_freq_response", "type": "vec4", "values": [ 1.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_q_freq_response", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_amount", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,32 +7,32 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_ntsc_encode",
|
||||
"fragment": "chains/hlsl/fs_ntsc_encode",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_a_value", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_b_value", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_cc_value", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_p_value", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scan_time", "type": "vec4", "values": [ 52.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_amount", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_ntsc_encode",
|
||||
"fragment": "chains/hlsl/fs_ntsc_encode",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_a_value", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_b_value", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_cc_value", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_p_value", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scan_time", "type": "vec4", "values": [ 52.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_amount", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,27 +7,27 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_phosphor",
|
||||
"fragment": "chains/hlsl/fs_phosphor",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_prev", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_passthrough", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor", "type": "vec4", "values": [ 0.7, 0.7, 0.7, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_phosphor",
|
||||
"fragment": "chains/hlsl/fs_phosphor",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_prev", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_passthrough", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_phosphor", "type": "vec4", "values": [ 0.7, 0.7, 0.7, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,26 +7,26 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_prescale",
|
||||
"fragment": "chains/hlsl/fs_prescale",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_prescale",
|
||||
"fragment": "chains/hlsl/fs_prescale",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,39 +6,39 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_scanline",
|
||||
"fragment": "chains/hlsl/fs_scanline",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0.0 ] },
|
||||
{ "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_target_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_time", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_scale", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_alpha", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_scale", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_bright_scale", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_bright_offset", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_jitter", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_height", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_variation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_amount", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hlsl/vs_scanline",
|
||||
"fragment": "chains/hlsl/fs_scanline",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0.0 ] },
|
||||
{ "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_source_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_target_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_time", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_scale", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_screen_offset", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_alpha", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_scale", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_bright_scale", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_bright_offset", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_jitter", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_height", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_scanline_variation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_jitter_amount", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -1,29 +1,29 @@
|
||||
// license:LGPL-2.1+
|
||||
// copyright-holders:Jules Blok,Cameron Zemek,Maxim Stepin
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hqx/vs_hq2x",
|
||||
"fragment": "chains/hqx/fs_hq2x",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hqx/vs_hq2x",
|
||||
"fragment": "chains/hqx/fs_hq2x",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -1,29 +1,29 @@
|
||||
// license:LGPL-2.1+
|
||||
// copyright-holders:Jules Blok,Cameron Zemek,Maxim Stepin
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hqx/vs_hq3x",
|
||||
"fragment": "chains/hqx/fs_hq3x",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hqx/vs_hq3x",
|
||||
"fragment": "chains/hqx/fs_hq3x",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -1,29 +1,29 @@
|
||||
// license:LGPL-2.1+
|
||||
// copyright-holders:Jules Blok,Cameron Zemek,Maxim Stepin
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hqx/vs_hq4x",
|
||||
"fragment": "chains/hqx/fs_hq4x",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/hqx/vs_hq4x",
|
||||
"fragment": "chains/hqx/fs_hq4x",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "LUT", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -1,37 +1,37 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/lcd-grid/vs_lcd-grid",
|
||||
"fragment": "chains/lcd-grid/fs_lcd-grid",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_rsubpix", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_gsubpix", "type": "vec4", "values": [ 0.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_bsubpix", "type": "vec4", "values": [ 0.0, 0.0, 1.0, 0.0 ] },
|
||||
{ "name": "u_gain", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_blacklevel","type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_ambient", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_BGR", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_subpixsize","type": "vec4", "values": [ 0.5, 0.63, 0.0, 0.0 ] },
|
||||
{ "name": "u_LCDgamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_monitorgamma","type":"vec4","values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/lcd-grid/vs_lcd-grid",
|
||||
"fragment": "chains/lcd-grid/fs_lcd-grid",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_rsubpix", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_gsubpix", "type": "vec4", "values": [ 0.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_bsubpix", "type": "vec4", "values": [ 0.0, 0.0, 1.0, 0.0 ] },
|
||||
{ "name": "u_gain", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_blacklevel","type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_ambient", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_BGR", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_subpixsize","type": "vec4", "values": [ 0.5, 0.63, 0.0, 0.0 ] },
|
||||
{ "name": "u_LCDgamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_monitorgamma","type":"vec4","values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -1,27 +1,27 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/lcd-grid/vs_persistence",
|
||||
"fragment": "chains/lcd-grid/fs_persistence",
|
||||
"uniforms": [
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_motionblur","type": "int", "values": [ 1 ] },
|
||||
{ "name": "u_persistence","type":"vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/lcd-grid/vs_persistence",
|
||||
"fragment": "chains/lcd-grid/fs_persistence",
|
||||
"uniforms": [
|
||||
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
||||
{ "name": "s_motionblur", "type": "int", "values": [ 1 ] },
|
||||
{ "name": "u_persistence","type":"vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
||||
|
@ -6,21 +6,21 @@
|
||||
//
|
||||
//===============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_bcg",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_bcg",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -7,115 +7,115 @@
|
||||
//============================================================
|
||||
{
|
||||
// blend (required): The blend state for this effect.
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
|
||||
// vertex (required): The vertex shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
|
||||
// pixel/fragment (required): The pixel or fragment shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"fragment": "chains/misc/fs_blit",
|
||||
"fragment": "chains/misc/fs_blit",
|
||||
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
}
|
@ -7,119 +7,119 @@
|
||||
//============================================================
|
||||
{
|
||||
// blend (required): The blend state for this effect.
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
|
||||
// vertex (required): The vertex shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
|
||||
// pixel/fragment (required): The pixel or fragment shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"fragment": "chains/misc/fs_blit_palette16",
|
||||
"fragment": "chains/misc/fs_blit_palette16",
|
||||
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
},
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
},
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,30 +8,30 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/misc/vs_deposterize-pass0",
|
||||
"fragment": "chains/misc/fs_deposterize-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "EQ_THRESH1", "type": "vec4", "values": [ 0.01, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "DIFF_THRESH1", "type": "vec4", "values": [ 0.06, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/misc/vs_deposterize-pass0",
|
||||
"fragment": "chains/misc/fs_deposterize-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "EQ_THRESH1", "type": "vec4", "values": [ 0.01, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "DIFF_THRESH1", "type": "vec4", "values": [ 0.06, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,30 +8,30 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/misc/vs_deposterize-pass1",
|
||||
"fragment": "chains/misc/fs_deposterize-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "EQ_THRESH2", "type": "vec4", "values": [ 0.01, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "DIFF_THRESH2", "type": "vec4", "values": [ 0.06, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/misc/vs_deposterize-pass1",
|
||||
"fragment": "chains/misc/fs_deposterize-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "EQ_THRESH2", "type": "vec4", "values": [ 0.01, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "DIFF_THRESH2", "type": "vec4", "values": [ 0.06, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
|
@ -6,25 +6,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/misc/vs_saturation",
|
||||
"fragment": "chains/misc/fs_saturation",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/misc/vs_saturation",
|
||||
"fragment": "chains/misc/fs_saturation",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,23 +6,23 @@
|
||||
//
|
||||
//===============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_palette16",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_palette16",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,20 +6,20 @@
|
||||
//
|
||||
//===============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_rgb32",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_rgb32",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "s_pal", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
}
|
@ -7,21 +7,21 @@
|
||||
//
|
||||
//===============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_yuy16",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": { "function": "always", "writeenable": false },
|
||||
"cull": { "mode": "none" },
|
||||
"write": { "rgb": true, "alpha": true },
|
||||
"vertex": "chains/misc/vs_blit",
|
||||
"fragment": "chains/misc/fs_blit_yuy16",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_inv_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,27 +6,27 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_horizontal/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_left_horizontal/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_horizontal/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_left_horizontal/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -10,25 +10,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_horizontal/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_left_horizontal/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_horizontal/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_left_horizontal/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,27 +6,27 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_vertical/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_left_vertical/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_vertical/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_left_vertical/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -10,25 +10,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_vertical/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_left_vertical/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_left_vertical/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_left_vertical/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,27 +6,27 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_horizontal/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_right_horizontal/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_horizontal/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_right_horizontal/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -10,25 +10,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_horizontal/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_right_horizontal/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_horizontal/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_right_horizontal/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -6,27 +6,27 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_vertical/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_right_vertical/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_vertical/vs_gaussian",
|
||||
"fragment": "chains/pillarbox_right_vertical/fs_gaussian",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_radius", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -10,25 +10,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_vertical/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_right_vertical/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/pillarbox_right_vertical/vs_offset_sat",
|
||||
"fragment": "chains/pillarbox_right_vertical/fs_offset_sat",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_saturation", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,25 +8,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tint", "type": "vec4", "values": [ 1.0, 1.0, 1.0, 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tint", "type": "vec4", "values": [ 1.0, 1.0, 1.0, 1.0 ] }
|
||||
]
|
||||
}
|
@ -8,25 +8,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tint", "type": "vec4", "values": [ 1.0, 1.0, 1.0, 1.0 ] }
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tint", "type": "vec4", "values": [ 1.0, 1.0, 1.0, 1.0 ] }
|
||||
]
|
||||
}
|
@ -8,25 +8,25 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "dstcolor",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "dstalpha",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tint", "type": "vec4", "values": [ 1.0, 1.0, 1.0, 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "dstcolor",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "dstalpha",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tint", "type": "vec4", "values": [ 1.0, 1.0, 1.0, 1.0 ] }
|
||||
]
|
||||
}
|
@ -8,24 +8,24 @@
|
||||
//
|
||||
//============================================================
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always"
|
||||
},
|
||||
"cull": { "mode": "none" },
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "vs_screen",
|
||||
"fragment": "fs_screen",
|
||||
"uniforms": [
|
||||
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
|
||||
]
|
||||
}
|
@ -7,115 +7,115 @@
|
||||
//============================================================
|
||||
{
|
||||
// blend (required): The blend state for this effect.
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
"blend": {
|
||||
// equation (optional): What equation to perform on the source and destination blend values.
|
||||
// values: "add", "sub", "revSub", "min", "max"
|
||||
// default: "add"
|
||||
//
|
||||
// "subtract" and "revSubtract" are provided as aliases for "sub" and "revSub"
|
||||
"equation": "add",
|
||||
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
// blend function parameters (optional): What factors to use in the blend function when calculating the final pixel.
|
||||
// values: "0", "1", "srccolor", "1-srccolor", "dstcolor", "1-dstcolor", "srcalpha", "1-srcalpha", "dstalpha", "1-dstalpha"
|
||||
// defaults (srcColor, srcAlpha): "1"
|
||||
// defaults (dstColor, dstAlpha): "0"
|
||||
//
|
||||
// "zero", "one", "invsrccolor", "invdstcolor", "invsrcalpha", and "invdstalpha" are provided as aliases for "0", "1", "1-srccolor", "1-dstcolor", "1-srcalpha", and "1-dstalpha"
|
||||
"srcColor": "srcalpha",
|
||||
"dstColor": "1-srcalpha",
|
||||
"srcAlpha": "srcalpha",
|
||||
"dstAlpha": "1-srcalpha"
|
||||
},
|
||||
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
// depth (required): The depth state for this effect.
|
||||
"depth": {
|
||||
// function (optional): The depth function to use when drawing.
|
||||
// values: "never", "less", "equal", "lequal", "greater", "notequal", "gequal", "always"
|
||||
// default: "always"
|
||||
"function": "always",
|
||||
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
// writeenable (optional): Whether to store Z-buffer data.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"writeenable": false
|
||||
},
|
||||
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
// cull (required): The cull mode for this effect.
|
||||
"cull": {
|
||||
// mode (optional): What winding, if any, to cull.
|
||||
// values: "none", "cw", "ccw"
|
||||
// default: "ccw"
|
||||
//
|
||||
// "clockwise" and "counterclockwise" are provided as aliases for "cw" and "ccw"
|
||||
"mode": "none"
|
||||
},
|
||||
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
// write (required): Write enable for color and alpha channels.
|
||||
"write": {
|
||||
// rgb (optional): Whether to store color data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"rgb": true,
|
||||
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
// alpha (optional): Whether to store alpha data when drawing.
|
||||
// values: true, false
|
||||
// default: false
|
||||
"alpha": true
|
||||
},
|
||||
|
||||
// vertex (required): The vertex shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"vertex": "chains/unfiltered/vs_blit",
|
||||
"vertex": "chains/unfiltered/vs_blit",
|
||||
|
||||
// pixel/fragment (required): The pixel or fragment shader to use when drawing.
|
||||
// value: A string containing the path and name of a shader file to use, minus the extension.
|
||||
"fragment": "chains/unfiltered/fs_blit",
|
||||
"fragment": "chains/unfiltered/fs_blit",
|
||||
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
// uniforms (required): The list of uniforms for this effect. Can be empty, but must exist.
|
||||
"uniforms": [
|
||||
{
|
||||
// name (required): The name of the uniform, as used in either the vertex or pixel/fragment shader.
|
||||
// value: A string containing the name of the uniform as described above.
|
||||
//
|
||||
// NOTE: Some names correspond to special values that will be automatically filled by the BGFX
|
||||
// code if they are used by the shader. These names are:
|
||||
// "u_screen_dims"
|
||||
// The dimensions of the first texture input if present, otherwise the dimensions of the output window.
|
||||
// Valid values: xy
|
||||
// "u_inv_screen_dims"
|
||||
// The reciprocal of u_screen_dims.
|
||||
// Valid values: xy
|
||||
// "u_source_dims"
|
||||
// The size, in pixels, of the screen texture incoming to the chain.
|
||||
// Valid values: xy
|
||||
// "u_rotation_type"
|
||||
// This screen's rotation type. 0 if ROT0, 1 if ROT90, 2 if ROT180, 3 of ROT270.
|
||||
// Valid values: x
|
||||
// "u_swap_xy"
|
||||
// Whether this screen is swapped on the X and Y axes. 1 if true, 0 if false.
|
||||
// Valid values: x
|
||||
// "u_quad_dims"
|
||||
// The dimensions, in pixels, occupied by this one screen primitive itself in the output window.
|
||||
// Valid values: xy
|
||||
// "u_tex_sizeN"
|
||||
// The dimensions, in pixels, of the texture in input pair N. Starts at 0.
|
||||
// valid values: xy
|
||||
"name": "s_tex",
|
||||
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
// type (required): The type of the uniform.
|
||||
// values: "int", "vec4", "mat3", "mat4"
|
||||
//
|
||||
// Note: "int" should only be used for samplers.
|
||||
"type": "int",
|
||||
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
// values (required): The array of numbers with which to initialize the uniform.
|
||||
// value: A JSON array containin the correct amount of numbers to initialize a uniform of the
|
||||
// above-specified type. The following size rules should be followed:
|
||||
// "int": 1 float
|
||||
// "vec4": 4 floats
|
||||
// "mat3": 9 floats
|
||||
// "mat4": 16 floats
|
||||
"values": [ 1.0 ]
|
||||
}
|
||||
]
|
||||
}
|
@ -27,28 +27,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/warp/vs_dilation-horizontal-fast",
|
||||
"fragment": "chains/warp/fs_dilation-horizontal-fast",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/warp/vs_dilation-horizontal-fast",
|
||||
"fragment": "chains/warp/fs_dilation-horizontal-fast",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,31 +8,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_custom-jinc2-sharper",
|
||||
"fragment": "chains/xbr/super-xbr/fs_custom-jinc2-sharper",
|
||||
"uniforms": [
|
||||
{ "name": "s_p", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "JINC2_WINDOW_SINC", "type": "vec4", "values": [ 0.42, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "JINC2_SINC", "type": "vec4", "values": [ 0.92, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "JINC2_AR_STRENGTH", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_custom-jinc2-sharper",
|
||||
"fragment": "chains/xbr/super-xbr/fs_custom-jinc2-sharper",
|
||||
"uniforms": [
|
||||
{ "name": "s_p", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "JINC2_WINDOW_SINC", "type": "vec4", "values": [ 0.42, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "JINC2_SINC", "type": "vec4", "values": [ 0.92, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "JINC2_AR_STRENGTH", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-2xbr-3d-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-2xbr-3d-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-2xbr-3d-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-2xbr-3d-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,32 +28,32 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-2xbr-3d-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-2xbr-3d-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-2xbr-3d-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-2xbr-3d-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,32 +28,32 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-2xbr-3d-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-2xbr-3d-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-2xbr-3d-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-2xbr-3d-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,32 +28,32 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,32 +28,32 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass3",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass3",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-4xbr-3d-pass3",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-4xbr-3d-pass3",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-fast-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-fast-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-fast-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-fast-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-fast-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-fast-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-fast-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-fast-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-fast-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-fast-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-fast-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-fast-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-pass0",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,32 +28,32 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-pass1",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-pass1",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -28,31 +28,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/super-xbr/vs_super-xbr-pass2",
|
||||
"fragment": "chains/xbr/super-xbr/fs_super-xbr-pass2",
|
||||
"uniforms": [
|
||||
{ "name": "s0", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EDGE_STR", "type": "vec4", "values": [ 0.6, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_WEIGHT", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_ANTI_RINGING", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-sharp",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-sharp",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-sharp",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-sharp",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v2-gamma",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v2-gamma",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v2-gamma",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v2-gamma",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v2",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v2",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v2",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v2",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v4-gamma",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v4-gamma",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v4-gamma",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v4-gamma",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v4",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v4",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v4",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v4",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v4b",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v4b",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v4b",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v4b",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v5-gamma",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v5-gamma",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid-v5-gamma",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid-v5-gamma",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -8,28 +8,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-hybrid/vs_2xbr-hybrid",
|
||||
"fragment": "chains/xbr/xbr-hybrid/fs_2xbr-hybrid",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,30 +27,30 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/vs_xbr-lv1-noblend",
|
||||
"fragment": "chains/xbr/fs_xbr-lv1-noblend",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_Y_WEIGHT", "type": "vec4", "values": [ 48.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 15.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/vs_xbr-lv1-noblend",
|
||||
"fragment": "chains/xbr/fs_xbr-lv1-noblend",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_Y_WEIGHT", "type": "vec4", "values": [ 48.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 15.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,34 +27,34 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/vs_xbr-lv2-3d",
|
||||
"fragment": "chains/xbr/fs_xbr-lv2-3d",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_SCALE", "type": "vec4", "values": [ 3.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_Y_WEIGHT", "type": "vec4", "values": [ 48.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 15.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV1_COEFFICIENT", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV2_COEFFICIENT", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_RES", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/vs_xbr-lv2-3d",
|
||||
"fragment": "chains/xbr/fs_xbr-lv2-3d",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_SCALE", "type": "vec4", "values": [ 3.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_Y_WEIGHT", "type": "vec4", "values": [ 48.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 15.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV1_COEFFICIENT", "type": "vec4", "values": [ 0.5, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV2_COEFFICIENT", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_RES", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,32 +27,32 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/vs_xbr-lv2-fast",
|
||||
"fragment": "chains/xbr/fs_xbr-lv2-fast",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_SCALE", "type": "vec4", "values": [ 4.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_Y_WEIGHT", "type": "vec4", "values": [ 48.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 25.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV2_COEFFICIENT", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/vs_xbr-lv2-fast",
|
||||
"fragment": "chains/xbr/fs_xbr-lv2-fast",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_SCALE", "type": "vec4", "values": [ 4.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_Y_WEIGHT", "type": "vec4", "values": [ 48.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 25.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV2_COEFFICIENT", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,28 +27,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-a-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-a-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-a-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-a-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,30 +27,30 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-accuracy-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-accuracy-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 4.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV2_COEFFICIENT", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-accuracy-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-accuracy-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_EQ_THRESHOLD", "type": "vec4", "values": [ 4.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "XBR_LV2_COEFFICIENT", "type": "vec4", "values": [ 2.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,31 +27,31 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-accuracy-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-accuracy-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_SCALE", "type": "vec4", "values": [ 4.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-accuracy-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-accuracy-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "ORIG_texture", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "XBR_SCALE", "type": "vec4", "values": [ 4.0, 0.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] },
|
||||
{ "name": "u_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,28 +27,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-b-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-b-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-b-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-b-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
@ -27,28 +27,28 @@
|
||||
*/
|
||||
|
||||
{
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-c-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-c-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
"blend": {
|
||||
"equation": "add",
|
||||
"srcColor": "1",
|
||||
"dstColor": "0",
|
||||
"srcAlpha": "1",
|
||||
"dstAlpha": "0"
|
||||
},
|
||||
"depth": {
|
||||
"function": "always",
|
||||
"writeenable": false
|
||||
},
|
||||
"cull": {
|
||||
"mode": "none"
|
||||
},
|
||||
"write": {
|
||||
"rgb": true,
|
||||
"alpha": true
|
||||
},
|
||||
"vertex": "chains/xbr/xbr-lv2-multipass/vs_xbr-lv2-c-pass0",
|
||||
"fragment": "chains/xbr/xbr-lv2-multipass/fs_xbr-lv2-c-pass0",
|
||||
"uniforms": [
|
||||
{ "name": "decal", "type": "int", "values": [ 1.0 ] },
|
||||
{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
||||
]
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user