mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-23 08:19:54 +00:00
Add mixed-res shaders
- Add mixed-res shaders in downsample folder; - Presets for 2x, 3x and 4x downsample added.
This commit is contained in:
parent
341aac7b7f
commit
e8287f250e
70
downsample/mixed-res-4x-jinc2.slangp
Normal file
70
downsample/mixed-res-4x-jinc2.slangp
Normal file
@ -0,0 +1,70 @@
|
||||
shaders = "7"
|
||||
feedback_pass = "0"
|
||||
shader0 = "shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
shader5 = "../interpolation/shaders/jinc2.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "viewport"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "shaders/mixed-res/output.slang"
|
||||
filter_linear6 = false
|
||||
wrap_mode6 = "clamp_to_border"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "false"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
78
downsample/mixed-res/2x/mixed-res-bicubic.slangp
Normal file
78
downsample/mixed-res/2x/mixed-res-bicubic.slangp
Normal file
@ -0,0 +1,78 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
|
||||
shader5 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "2.0"
|
69
downsample/mixed-res/2x/mixed-res-bilinear.slangp
Normal file
69
downsample/mixed-res/2x/mixed-res-bilinear.slangp
Normal file
@ -0,0 +1,69 @@
|
||||
shaders = "7"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
shader5 = "../../../stock.slang"
|
||||
filter_linear5 = "true"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "viewport"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../shaders/mixed-res/output.slang"
|
||||
wrap_mode6 = "clamp_to_border"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "false"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
IR_SCALE = "2.0"
|
69
downsample/mixed-res/2x/mixed-res-jinc2.slangp
Normal file
69
downsample/mixed-res/2x/mixed-res-jinc2.slangp
Normal file
@ -0,0 +1,69 @@
|
||||
shaders = "7"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
shader5 = "../../../interpolation/shaders/jinc2.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "viewport"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear6 = false
|
||||
wrap_mode6 = "clamp_to_border"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "false"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
IR_SCALE = "2.0"
|
78
downsample/mixed-res/2x/mixed-res-lanczos3.slangp
Normal file
78
downsample/mixed-res/2x/mixed-res-lanczos3.slangp
Normal file
@ -0,0 +1,78 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
|
||||
shader5 = "../../../interpolation/shaders/lanczos3-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/lanczos3-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "2.0"
|
121
downsample/mixed-res/2x/mixed-res-nnedi3-luma.slangp
Normal file
121
downsample/mixed-res/2x/mixed-res-nnedi3-luma.slangp
Normal file
@ -0,0 +1,121 @@
|
||||
shaders = "14"
|
||||
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
alias4 = ""
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
shader5 = "../../../edge-smoothing/nnedi3/shaders/rgb-to-yuv.slang"
|
||||
filter_linear5 = false
|
||||
alias5 = "PassOutput0"
|
||||
scale_type5 = source
|
||||
scale_x5 = 1.0
|
||||
scale_y5 = 1.0
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
|
||||
shader6 = "../../../edge-smoothing/nnedi3/shaders/nnedi3-nns16-win8x4-pass1-luma.slang"
|
||||
filter_linear6 = false
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type6 = source
|
||||
scale_x6 = 1.0
|
||||
scale_y6 = 2.0
|
||||
|
||||
shader7 = "../../../edge-smoothing/nnedi3/shaders/nnedi3-nns16-win8x4-pass2-luma.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type7 = source
|
||||
scale_x7 = 2.0
|
||||
scale_y7 = 1.0
|
||||
|
||||
shader8 = "../../../edge-smoothing/nnedi3/shaders/jinc2-cshift-luma.slang"
|
||||
filter_linear8 = false
|
||||
alias8 = "PassOutput3"
|
||||
wrap_mode8 = "clamp_to_edge"
|
||||
srgb_framebuffer8 = "true"
|
||||
scale_type8 = source
|
||||
scale_x8 = 1.0
|
||||
scale_y8 = 1.0
|
||||
|
||||
shader9 = "../../../edge-smoothing/nnedi3/shaders/jinc2-on-passoutput0.slang"
|
||||
filter_linear9 = false
|
||||
srgb_framebuffer9 = "true"
|
||||
scale_type9 = source
|
||||
scale_x9 = 1.0
|
||||
scale_y9 = 1.0
|
||||
wrap_mode9 = "clamp_to_edge"
|
||||
|
||||
shader10 = "../../../edge-smoothing/nnedi3/shaders/yuv-to-rgb-2x.slang"
|
||||
filter_linear10 = false
|
||||
srgb_framebuffer10 = "true"
|
||||
scale_type10 = source
|
||||
scale_x10 = 1.0
|
||||
scale_y10 = 1.0
|
||||
|
||||
shader11 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode11 = "clamp_to_edge"
|
||||
srgb_framebuffer11 = "true"
|
||||
scale_type_x11 = "viewport"
|
||||
scale_x11 = "1.000000"
|
||||
scale_type_y11 = "source"
|
||||
scale_y11 = "1.000000"
|
||||
|
||||
shader12 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear12 = false
|
||||
wrap_mode12 = "clamp_to_edge"
|
||||
srgb_framebuffer12 = "true"
|
||||
scale_type_x12 = viewport
|
||||
scale_type_y12 = viewport
|
||||
scale12 = 1.0
|
||||
|
||||
shader13 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear13 = false
|
||||
scale_type_x13 = "source"
|
||||
scale_x13 = "1.000000"
|
||||
scale_type_y13 = "source"
|
||||
scale_y13 = "1.000000"
|
||||
|
||||
|
||||
IR_SCALE = "2.0"
|
||||
B_TRESH = "0.20"
|
||||
|
90
downsample/mixed-res/2x/mixed-res-reverse-aa.slangp
Normal file
90
downsample/mixed-res/2x/mixed-res-reverse-aa.slangp
Normal file
@ -0,0 +1,90 @@
|
||||
shaders = "9"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
|
||||
shader5 = "../../../anti-aliasing/shaders/reverse-aa.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "true"
|
||||
scale_type_x5 = "source"
|
||||
scale_x5 = "2.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "2.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type_x6 = "viewport"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
shader7 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type_x7 = viewport
|
||||
scale_type_y7 = viewport
|
||||
scale7 = 1.0
|
||||
|
||||
|
||||
shader8 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear8 = false
|
||||
wrap_mode8 = "clamp_to_border"
|
||||
mipmap_input8 = "false"
|
||||
alias8 = ""
|
||||
float_framebuffer8 = "false"
|
||||
srgb_framebuffer8 = "false"
|
||||
scale_type_x8 = "source"
|
||||
scale_x8 = "1.000000"
|
||||
scale_type_y8 = "source"
|
||||
scale_y8 = "1.000000"
|
||||
|
||||
IR_SCALE = "2.0"
|
77
downsample/mixed-res/2x/mixed-res-spline16.slangp
Normal file
77
downsample/mixed-res/2x/mixed-res-spline16.slangp
Normal file
@ -0,0 +1,77 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
shader5 = "../../../interpolation/shaders/spline16-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/spline16-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "2.0"
|
125
downsample/mixed-res/2x/mixed-res-super-xbr.slangp
Normal file
125
downsample/mixed-res/2x/mixed-res-super-xbr.slangp
Normal file
@ -0,0 +1,125 @@
|
||||
shaders = "12"
|
||||
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
alias4 = "XbrSource"
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.5
|
||||
|
||||
shader5 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass0.slang"
|
||||
filter_linear5 = "false"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "true"
|
||||
scale_type_x5 = "source"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
shader6 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass1.slang"
|
||||
filter_linear6 = "false"
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "2.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "2.000000"
|
||||
shader7 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass2.slang"
|
||||
filter_linear7 = "false"
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
shader8 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode8 = "clamp_to_edge"
|
||||
srgb_framebuffer8 = "true"
|
||||
scale_type_x8 = "viewport"
|
||||
scale_x8 = "1.000000"
|
||||
scale_type_y8 = "source"
|
||||
scale_y8 = "1.000000"
|
||||
|
||||
shader9 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear9 = false
|
||||
wrap_mode9 = "clamp_to_edge"
|
||||
srgb_framebuffer9 = "true"
|
||||
scale_type_x9 = viewport
|
||||
scale_type_y9 = viewport
|
||||
scale9 = 1.0
|
||||
|
||||
shader10 = "../../../deblur/shaders/deblur.slang"
|
||||
filter_linear10 = "true"
|
||||
wrap_mode10 = "clamp_to_border"
|
||||
srgb_framebuffer10 = "true"
|
||||
scale_type10 = "source"
|
||||
scale10 = "1.000000"
|
||||
|
||||
shader11 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear11 = false
|
||||
wrap_mode11 = "clamp_to_border"
|
||||
mipmap_input11 = "false"
|
||||
alias11 = ""
|
||||
float_framebuffer11 = "false"
|
||||
srgb_framebuffer11 = "false"
|
||||
scale_type_x11 = "source"
|
||||
scale_x11 = "1.000000"
|
||||
scale_type_y11 = "source"
|
||||
scale_y11 = "1.000000"
|
||||
|
||||
|
||||
IR_SCALE = "2.0"
|
||||
B_TRESH = "0.20"
|
||||
XBR_WEIGHT = "1.000000"
|
||||
XBR_EDGE_STR_P1 = "5.000000"
|
||||
B = "0.330000"
|
||||
C = "0.330000"
|
||||
OFFSET = "2.500000"
|
||||
DEBLUR = "1.250000"
|
||||
SMART = "0.400000"
|
79
downsample/mixed-res/3x/mixed-res-bicubic.slangp
Normal file
79
downsample/mixed-res/3x/mixed-res-bicubic.slangp
Normal file
@ -0,0 +1,79 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
|
||||
shader5 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "3.0"
|
||||
|
69
downsample/mixed-res/3x/mixed-res-bilinear.slangp
Normal file
69
downsample/mixed-res/3x/mixed-res-bilinear.slangp
Normal file
@ -0,0 +1,69 @@
|
||||
shaders = "7"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
shader5 = "../../../stock.slang"
|
||||
filter_linear5 = "true"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "viewport"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../shaders/mixed-res/output.slang"
|
||||
wrap_mode6 = "clamp_to_border"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "false"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
IR_SCALE = "3.0"
|
69
downsample/mixed-res/3x/mixed-res-jinc2.slangp
Normal file
69
downsample/mixed-res/3x/mixed-res-jinc2.slangp
Normal file
@ -0,0 +1,69 @@
|
||||
shaders = "7"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
shader5 = "../../../interpolation/shaders/jinc2.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "viewport"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear6 = false
|
||||
wrap_mode6 = "clamp_to_border"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "false"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
IR_SCALE = "3.0"
|
78
downsample/mixed-res/3x/mixed-res-lanczos3.slangp
Normal file
78
downsample/mixed-res/3x/mixed-res-lanczos3.slangp
Normal file
@ -0,0 +1,78 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
|
||||
shader5 = "../../../interpolation/shaders/lanczos3-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/lanczos3-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "3.0"
|
121
downsample/mixed-res/3x/mixed-res-nnedi3-luma.slangp
Normal file
121
downsample/mixed-res/3x/mixed-res-nnedi3-luma.slangp
Normal file
@ -0,0 +1,121 @@
|
||||
shaders = "14"
|
||||
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
alias4 = ""
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
shader5 = "../../../edge-smoothing/nnedi3/shaders/rgb-to-yuv.slang"
|
||||
filter_linear5 = false
|
||||
alias5 = "PassOutput0"
|
||||
scale_type5 = source
|
||||
scale_x5 = 1.0
|
||||
scale_y5 = 1.0
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
|
||||
shader6 = "../../../edge-smoothing/nnedi3/shaders/nnedi3-nns16-win8x4-pass1-luma.slang"
|
||||
filter_linear6 = false
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type6 = source
|
||||
scale_x6 = 1.0
|
||||
scale_y6 = 2.0
|
||||
|
||||
shader7 = "../../../edge-smoothing/nnedi3/shaders/nnedi3-nns16-win8x4-pass2-luma.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type7 = source
|
||||
scale_x7 = 2.0
|
||||
scale_y7 = 1.0
|
||||
|
||||
shader8 = "../../../edge-smoothing/nnedi3/shaders/jinc2-cshift-luma.slang"
|
||||
filter_linear8 = false
|
||||
alias8 = "PassOutput3"
|
||||
wrap_mode8 = "clamp_to_edge"
|
||||
srgb_framebuffer8 = "true"
|
||||
scale_type8 = source
|
||||
scale_x8 = 1.0
|
||||
scale_y8 = 1.0
|
||||
|
||||
shader9 = "../../../edge-smoothing/nnedi3/shaders/jinc2-on-passoutput0.slang"
|
||||
filter_linear9 = false
|
||||
srgb_framebuffer9 = "true"
|
||||
scale_type9 = source
|
||||
scale_x9 = 1.0
|
||||
scale_y9 = 1.0
|
||||
wrap_mode9 = "clamp_to_edge"
|
||||
|
||||
shader10 = "../../../edge-smoothing/nnedi3/shaders/yuv-to-rgb-2x.slang"
|
||||
filter_linear10 = false
|
||||
srgb_framebuffer10 = "true"
|
||||
scale_type10 = source
|
||||
scale_x10 = 1.0
|
||||
scale_y10 = 1.0
|
||||
|
||||
shader11 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode11 = "clamp_to_edge"
|
||||
srgb_framebuffer11 = "true"
|
||||
scale_type_x11 = "viewport"
|
||||
scale_x11 = "1.000000"
|
||||
scale_type_y11 = "source"
|
||||
scale_y11 = "1.000000"
|
||||
|
||||
shader12 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear12 = false
|
||||
wrap_mode12 = "clamp_to_edge"
|
||||
srgb_framebuffer12 = "true"
|
||||
scale_type_x12 = viewport
|
||||
scale_type_y12 = viewport
|
||||
scale12 = 1.0
|
||||
|
||||
shader13 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear13 = false
|
||||
scale_type_x13 = "source"
|
||||
scale_x13 = "1.000000"
|
||||
scale_type_y13 = "source"
|
||||
scale_y13 = "1.000000"
|
||||
|
||||
|
||||
IR_SCALE = "3.0"
|
||||
B_TRESH = "0.20"
|
||||
|
90
downsample/mixed-res/3x/mixed-res-reverse-aa.slangp
Normal file
90
downsample/mixed-res/3x/mixed-res-reverse-aa.slangp
Normal file
@ -0,0 +1,90 @@
|
||||
shaders = "9"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
|
||||
shader5 = "../../../anti-aliasing/shaders/reverse-aa.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "true"
|
||||
scale_type_x5 = "source"
|
||||
scale_x5 = "2.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "2.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type_x6 = "viewport"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
shader7 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type_x7 = viewport
|
||||
scale_type_y7 = viewport
|
||||
scale7 = 1.0
|
||||
|
||||
|
||||
shader8 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear8 = false
|
||||
wrap_mode8 = "clamp_to_border"
|
||||
mipmap_input8 = "false"
|
||||
alias8 = ""
|
||||
float_framebuffer8 = "false"
|
||||
srgb_framebuffer8 = "false"
|
||||
scale_type_x8 = "source"
|
||||
scale_x8 = "1.000000"
|
||||
scale_type_y8 = "source"
|
||||
scale_y8 = "1.000000"
|
||||
|
||||
IR_SCALE = "3.0"
|
77
downsample/mixed-res/3x/mixed-res-spline16.slangp
Normal file
77
downsample/mixed-res/3x/mixed-res-spline16.slangp
Normal file
@ -0,0 +1,77 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
shader5 = "../../../interpolation/shaders/spline16-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/spline16-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "3.0"
|
125
downsample/mixed-res/3x/mixed-res-super-xbr.slangp
Normal file
125
downsample/mixed-res/3x/mixed-res-super-xbr.slangp
Normal file
@ -0,0 +1,125 @@
|
||||
shaders = "12"
|
||||
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
alias4 = "XbrSource"
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.333333
|
||||
|
||||
shader5 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass0.slang"
|
||||
filter_linear5 = "false"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "true"
|
||||
scale_type_x5 = "source"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
shader6 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass1.slang"
|
||||
filter_linear6 = "false"
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "2.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "2.000000"
|
||||
shader7 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass2.slang"
|
||||
filter_linear7 = "false"
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
shader8 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode8 = "clamp_to_edge"
|
||||
srgb_framebuffer8 = "true"
|
||||
scale_type_x8 = "viewport"
|
||||
scale_x8 = "1.000000"
|
||||
scale_type_y8 = "source"
|
||||
scale_y8 = "1.000000"
|
||||
|
||||
shader9 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear9 = false
|
||||
wrap_mode9 = "clamp_to_edge"
|
||||
srgb_framebuffer9 = "true"
|
||||
scale_type_x9 = viewport
|
||||
scale_type_y9 = viewport
|
||||
scale9 = 1.0
|
||||
|
||||
shader10 = "../../../deblur/shaders/deblur.slang"
|
||||
filter_linear10 = "true"
|
||||
wrap_mode10 = "clamp_to_border"
|
||||
srgb_framebuffer10 = "true"
|
||||
scale_type10 = "source"
|
||||
scale10 = "1.000000"
|
||||
|
||||
shader11 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear11 = false
|
||||
wrap_mode11 = "clamp_to_border"
|
||||
mipmap_input11 = "false"
|
||||
alias11 = ""
|
||||
float_framebuffer11 = "false"
|
||||
srgb_framebuffer11 = "false"
|
||||
scale_type_x11 = "source"
|
||||
scale_x11 = "1.000000"
|
||||
scale_type_y11 = "source"
|
||||
scale_y11 = "1.000000"
|
||||
|
||||
|
||||
IR_SCALE = "3.0"
|
||||
B_TRESH = "0.20"
|
||||
XBR_WEIGHT = "1.000000"
|
||||
XBR_EDGE_STR_P1 = "5.000000"
|
||||
B = "0.330000"
|
||||
C = "0.330000"
|
||||
OFFSET = "2.500000"
|
||||
DEBLUR = "1.250000"
|
||||
SMART = "0.400000"
|
79
downsample/mixed-res/4x/mixed-res-bicubic.slangp
Normal file
79
downsample/mixed-res/4x/mixed-res-bicubic.slangp
Normal file
@ -0,0 +1,79 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
|
||||
shader5 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
70
downsample/mixed-res/4x/mixed-res-bilinear.slangp
Normal file
70
downsample/mixed-res/4x/mixed-res-bilinear.slangp
Normal file
@ -0,0 +1,70 @@
|
||||
shaders = "7"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
shader5 = "../../../stock.slang"
|
||||
filter_linear5 = "true"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "viewport"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../shaders/mixed-res/output.slang"
|
||||
wrap_mode6 = "clamp_to_border"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "false"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
79
downsample/mixed-res/4x/mixed-res-lanczos3.slangp
Normal file
79
downsample/mixed-res/4x/mixed-res-lanczos3.slangp
Normal file
@ -0,0 +1,79 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
|
||||
shader5 = "../../../interpolation/shaders/lanczos3-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/lanczos3-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
120
downsample/mixed-res/4x/mixed-res-nnedi3-luma.slangp
Normal file
120
downsample/mixed-res/4x/mixed-res-nnedi3-luma.slangp
Normal file
@ -0,0 +1,120 @@
|
||||
shaders = "14"
|
||||
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
alias4 = ""
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
shader5 = "../../../edge-smoothing/nnedi3/shaders/rgb-to-yuv.slang"
|
||||
filter_linear5 = false
|
||||
alias5 = "PassOutput0"
|
||||
scale_type5 = source
|
||||
scale_x5 = 1.0
|
||||
scale_y5 = 1.0
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
|
||||
shader6 = "../../../edge-smoothing/nnedi3/shaders/nnedi3-nns16-win8x4-pass1-luma.slang"
|
||||
filter_linear6 = false
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type6 = source
|
||||
scale_x6 = 1.0
|
||||
scale_y6 = 2.0
|
||||
|
||||
shader7 = "../../../edge-smoothing/nnedi3/shaders/nnedi3-nns16-win8x4-pass2-luma.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type7 = source
|
||||
scale_x7 = 2.0
|
||||
scale_y7 = 1.0
|
||||
|
||||
shader8 = "../../../edge-smoothing/nnedi3/shaders/jinc2-cshift-luma.slang"
|
||||
filter_linear8 = false
|
||||
alias8 = "PassOutput3"
|
||||
wrap_mode8 = "clamp_to_edge"
|
||||
srgb_framebuffer8 = "true"
|
||||
scale_type8 = source
|
||||
scale_x8 = 1.0
|
||||
scale_y8 = 1.0
|
||||
|
||||
shader9 = "../../../edge-smoothing/nnedi3/shaders/jinc2-on-passoutput0.slang"
|
||||
filter_linear9 = false
|
||||
srgb_framebuffer9 = "true"
|
||||
scale_type9 = source
|
||||
scale_x9 = 1.0
|
||||
scale_y9 = 1.0
|
||||
wrap_mode9 = "clamp_to_edge"
|
||||
|
||||
shader10 = "../../../edge-smoothing/nnedi3/shaders/yuv-to-rgb-2x.slang"
|
||||
filter_linear10 = false
|
||||
srgb_framebuffer10 = "true"
|
||||
scale_type10 = source
|
||||
scale_x10 = 1.0
|
||||
scale_y10 = 1.0
|
||||
|
||||
shader11 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode11 = "clamp_to_edge"
|
||||
srgb_framebuffer11 = "true"
|
||||
scale_type_x11 = "viewport"
|
||||
scale_x11 = "1.000000"
|
||||
scale_type_y11 = "source"
|
||||
scale_y11 = "1.000000"
|
||||
|
||||
shader12 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear12 = false
|
||||
wrap_mode12 = "clamp_to_edge"
|
||||
srgb_framebuffer12 = "true"
|
||||
scale_type_x12 = viewport
|
||||
scale_type_y12 = viewport
|
||||
scale12 = 1.0
|
||||
|
||||
shader13 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear13 = false
|
||||
scale_type_x13 = "source"
|
||||
scale_x13 = "1.000000"
|
||||
scale_type_y13 = "source"
|
||||
scale_y13 = "1.000000"
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
||||
|
91
downsample/mixed-res/4x/mixed-res-reverse-aa.slangp
Normal file
91
downsample/mixed-res/4x/mixed-res-reverse-aa.slangp
Normal file
@ -0,0 +1,91 @@
|
||||
shaders = "9"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
|
||||
shader5 = "../../../anti-aliasing/shaders/reverse-aa.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "true"
|
||||
scale_type_x5 = "source"
|
||||
scale_x5 = "2.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "2.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type_x6 = "viewport"
|
||||
scale_x6 = "1.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "1.000000"
|
||||
|
||||
shader7 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type_x7 = viewport
|
||||
scale_type_y7 = viewport
|
||||
scale7 = 1.0
|
||||
|
||||
|
||||
shader8 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear8 = false
|
||||
wrap_mode8 = "clamp_to_border"
|
||||
mipmap_input8 = "false"
|
||||
alias8 = ""
|
||||
float_framebuffer8 = "false"
|
||||
srgb_framebuffer8 = "false"
|
||||
scale_type_x8 = "source"
|
||||
scale_x8 = "1.000000"
|
||||
scale_type_y8 = "source"
|
||||
scale_y8 = "1.000000"
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
78
downsample/mixed-res/4x/mixed-res-spline16.slangp
Normal file
78
downsample/mixed-res/4x/mixed-res-spline16.slangp
Normal file
@ -0,0 +1,78 @@
|
||||
shaders = "8"
|
||||
feedback_pass = "0"
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
shader5 = "../../../interpolation/shaders/spline16-x.slang"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "false"
|
||||
scale_type_x5 = "viewport"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
|
||||
shader6 = "../../../interpolation/shaders/spline16-y.slang"
|
||||
filter_linear6 = false
|
||||
scale_type_x6 = viewport
|
||||
scale_type_y6 = viewport
|
||||
scale6 = 1.0
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
|
||||
|
||||
shader7 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear7 = false
|
||||
wrap_mode7 = "clamp_to_border"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "false"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
125
downsample/mixed-res/4x/mixed-res-super-xbr.slangp
Normal file
125
downsample/mixed-res/4x/mixed-res-super-xbr.slangp
Normal file
@ -0,0 +1,125 @@
|
||||
shaders = "12"
|
||||
|
||||
shader0 = "../../shaders/mixed-res/coder.slang"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
mipmap_input0 = "false"
|
||||
alias0 = ""
|
||||
float_framebuffer0 = "false"
|
||||
srgb_framebuffer0 = "false"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "1.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "1.000000"
|
||||
|
||||
shader1 = "../../shaders/mixed-res/hires-tagger.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
mipmap_input1 = "false"
|
||||
float_framebuffer1 = "false"
|
||||
srgb_framebuffer1 = "false"
|
||||
scale_type_x1 = "source"
|
||||
scale_x1 = "1.000000"
|
||||
scale_type_y1 = "source"
|
||||
scale_y1 = "1.000000"
|
||||
|
||||
shader2 = "../../shaders/mixed-res/blur-gauss-h.slang"
|
||||
filter_linear2 = true
|
||||
scale_type_x2 = source
|
||||
scale_x2 = 1.0
|
||||
scale_type_y2 = source
|
||||
scale_y2 = 1.0
|
||||
|
||||
shader3 = "../../shaders/mixed-res/blur-gauss-v.slang"
|
||||
filter_linear3 = true
|
||||
alias3 = "HiresSource"
|
||||
scale_type_x3 = source
|
||||
scale_x3 = 1.0
|
||||
scale_type_y3 = source
|
||||
scale_y3 = 1.0
|
||||
|
||||
shader4 = "../../shaders/mixed-res/cheap-sharpen-tweaked.slang"
|
||||
filter_linear4 = true
|
||||
alias4 = "XbrSource"
|
||||
wrap_mode4 = "clamp_to_edge"
|
||||
scale_type4 = source
|
||||
scale4 = 0.25
|
||||
|
||||
shader5 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass0.slang"
|
||||
filter_linear5 = "false"
|
||||
wrap_mode5 = "clamp_to_edge"
|
||||
mipmap_input5 = "false"
|
||||
alias5 = ""
|
||||
float_framebuffer5 = "false"
|
||||
srgb_framebuffer5 = "true"
|
||||
scale_type_x5 = "source"
|
||||
scale_x5 = "1.000000"
|
||||
scale_type_y5 = "source"
|
||||
scale_y5 = "1.000000"
|
||||
shader6 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass1.slang"
|
||||
filter_linear6 = "false"
|
||||
wrap_mode6 = "clamp_to_edge"
|
||||
mipmap_input6 = "false"
|
||||
alias6 = ""
|
||||
float_framebuffer6 = "false"
|
||||
srgb_framebuffer6 = "true"
|
||||
scale_type_x6 = "source"
|
||||
scale_x6 = "2.000000"
|
||||
scale_type_y6 = "source"
|
||||
scale_y6 = "2.000000"
|
||||
shader7 = "../../../edge-smoothing/xbr/shaders/super-xbr/super-xbr-pass2.slang"
|
||||
filter_linear7 = "false"
|
||||
wrap_mode7 = "clamp_to_edge"
|
||||
mipmap_input7 = "false"
|
||||
alias7 = ""
|
||||
float_framebuffer7 = "false"
|
||||
srgb_framebuffer7 = "true"
|
||||
scale_type_x7 = "source"
|
||||
scale_x7 = "1.000000"
|
||||
scale_type_y7 = "source"
|
||||
scale_y7 = "1.000000"
|
||||
|
||||
shader8 = "../../../interpolation/shaders/bicubic-x.slang"
|
||||
wrap_mode8 = "clamp_to_edge"
|
||||
srgb_framebuffer8 = "true"
|
||||
scale_type_x8 = "viewport"
|
||||
scale_x8 = "1.000000"
|
||||
scale_type_y8 = "source"
|
||||
scale_y8 = "1.000000"
|
||||
|
||||
shader9 = "../../../interpolation/shaders/bicubic-y.slang"
|
||||
filter_linear9 = false
|
||||
wrap_mode9 = "clamp_to_edge"
|
||||
srgb_framebuffer9 = "true"
|
||||
scale_type_x9 = viewport
|
||||
scale_type_y9 = viewport
|
||||
scale9 = 1.0
|
||||
|
||||
shader10 = "../../../deblur/shaders/deblur.slang"
|
||||
filter_linear10 = "true"
|
||||
wrap_mode10 = "clamp_to_border"
|
||||
srgb_framebuffer10 = "true"
|
||||
scale_type10 = "source"
|
||||
scale10 = "1.000000"
|
||||
|
||||
shader11 = "../../shaders/mixed-res/output.slang"
|
||||
filter_linear11 = false
|
||||
wrap_mode11 = "clamp_to_border"
|
||||
mipmap_input11 = "false"
|
||||
alias11 = ""
|
||||
float_framebuffer11 = "false"
|
||||
srgb_framebuffer11 = "false"
|
||||
scale_type_x11 = "source"
|
||||
scale_x11 = "1.000000"
|
||||
scale_type_y11 = "source"
|
||||
scale_y11 = "1.000000"
|
||||
|
||||
|
||||
IR_SCALE = "4.0"
|
||||
B_TRESH = "0.10"
|
||||
XBR_WEIGHT = "1.000000"
|
||||
XBR_EDGE_STR_P1 = "5.000000"
|
||||
B = "0.330000"
|
||||
C = "0.330000"
|
||||
OFFSET = "2.500000"
|
||||
DEBLUR = "1.250000"
|
||||
SMART = "0.400000"
|
58
downsample/shaders/mixed-res/blur-gauss-h.slang
Normal file
58
downsample/shaders/mixed-res/blur-gauss-h.slang
Normal file
@ -0,0 +1,58 @@
|
||||
#version 450
|
||||
|
||||
// Implementation based on the article "Efficient Gaussian blur with linear sampling"
|
||||
// http://rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/
|
||||
/* A version for MasterEffect Reborn, a standalone version, and a custom shader version for SweetFX can be
|
||||
found at http://reshade.me/forum/shader-presentation/27-gaussian-blur-bloom-unsharpmask */
|
||||
/*-----------------------------------------------------------.
|
||||
/ Gaussian Blur settings /
|
||||
'-----------------------------------------------------------*/
|
||||
|
||||
layout(push_constant) uniform Push
|
||||
{
|
||||
vec4 SourceSize;
|
||||
vec4 OriginalSize;
|
||||
vec4 OutputSize;
|
||||
uint FrameCount;
|
||||
} params;
|
||||
|
||||
layout(std140, set = 0, binding = 0) uniform UBO
|
||||
{
|
||||
mat4 MVP;
|
||||
} global;
|
||||
|
||||
#define HW 1.00
|
||||
|
||||
#pragma stage vertex
|
||||
layout(location = 0) in vec4 Position;
|
||||
layout(location = 1) in vec2 TexCoord;
|
||||
layout(location = 0) out vec2 vTexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = global.MVP * Position;
|
||||
vTexCoord = TexCoord;
|
||||
}
|
||||
|
||||
#pragma stage fragment
|
||||
layout(location = 0) in vec2 vTexCoord;
|
||||
layout(location = 0) out vec4 FragColor;
|
||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec2 texcoord = vTexCoord;
|
||||
vec2 PIXEL_SIZE = params.SourceSize.zw;
|
||||
|
||||
float sampleOffsets[5] = { 0.0, 1.4347826, 3.3478260, 5.2608695, 7.1739130 };
|
||||
float sampleWeights[5] = { 0.16818994, 0.27276957, 0.11690125, 0.024067905, 0.0021112196 };
|
||||
|
||||
vec4 color = texture(Source, texcoord);
|
||||
|
||||
color.a = color.a * sampleWeights[0];
|
||||
for(int i = 1; i < 5; ++i) {
|
||||
color.a += texture(Source, texcoord + vec2(sampleOffsets[i]*HW * PIXEL_SIZE.x, 0.0)).a * sampleWeights[i];
|
||||
color.a += texture(Source, texcoord - vec2(sampleOffsets[i]*HW * PIXEL_SIZE.x, 0.0)).a * sampleWeights[i];
|
||||
}
|
||||
FragColor = vec4(color);
|
||||
}
|
59
downsample/shaders/mixed-res/blur-gauss-v.slang
Normal file
59
downsample/shaders/mixed-res/blur-gauss-v.slang
Normal file
@ -0,0 +1,59 @@
|
||||
#version 450
|
||||
|
||||
// Implementation based on the article "Efficient Gaussian blur with linear sampling"
|
||||
// http://rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/
|
||||
/* A version for MasterEffect Reborn, a standalone version, and a custom shader version for SweetFX can be
|
||||
found at http://reshade.me/forum/shader-presentation/27-gaussian-blur-bloom-unsharpmask */
|
||||
/*-----------------------------------------------------------.
|
||||
/ Gaussian Blur settings /
|
||||
'-----------------------------------------------------------*/
|
||||
|
||||
layout(push_constant) uniform Push
|
||||
{
|
||||
vec4 SourceSize;
|
||||
vec4 OriginalSize;
|
||||
vec4 OutputSize;
|
||||
uint FrameCount;
|
||||
} params;
|
||||
|
||||
layout(std140, set = 0, binding = 0) uniform UBO
|
||||
{
|
||||
mat4 MVP;
|
||||
} global;
|
||||
|
||||
#define VW 1.00
|
||||
|
||||
#pragma stage vertex
|
||||
layout(location = 0) in vec4 Position;
|
||||
layout(location = 1) in vec2 TexCoord;
|
||||
layout(location = 0) out vec2 vTexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = global.MVP * Position;
|
||||
vTexCoord = TexCoord;
|
||||
}
|
||||
|
||||
#pragma stage fragment
|
||||
layout(location = 0) in vec2 vTexCoord;
|
||||
layout(location = 0) out vec4 FragColor;
|
||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec2 texcoord = vTexCoord;
|
||||
vec2 PIXEL_SIZE = params.SourceSize.zw;
|
||||
|
||||
float sampleOffsets[5] = { 0.0, 1.4347826, 3.3478260, 5.2608695, 7.1739130 };
|
||||
float sampleWeights[5] = { 0.16818994, 0.27276957, 0.11690125, 0.024067905, 0.0021112196 };
|
||||
|
||||
|
||||
vec4 color = texture(Source, texcoord);
|
||||
|
||||
color.a = color.a * sampleWeights[0];
|
||||
for(int i = 1; i < 5; ++i) {
|
||||
color.a += texture(Source, texcoord + vec2(0.0, sampleOffsets[i]*VW * PIXEL_SIZE.y)).a * sampleWeights[i];
|
||||
color.a += texture(Source, texcoord - vec2(0.0, sampleOffsets[i]*VW * PIXEL_SIZE.y)).a * sampleWeights[i];
|
||||
}
|
||||
FragColor = vec4(color);
|
||||
}
|
99
downsample/shaders/mixed-res/cheap-sharpen-tweaked.slang
Normal file
99
downsample/shaders/mixed-res/cheap-sharpen-tweaked.slang
Normal file
@ -0,0 +1,99 @@
|
||||
#version 450
|
||||
|
||||
/*
|
||||
Hyllian cheap sharpen Shader
|
||||
|
||||
Copyright (C) 2011-2024 Hyllian - sergiogdb@gmail.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
layout(push_constant) uniform Push
|
||||
{
|
||||
vec4 SourceSize;
|
||||
vec4 OriginalSize;
|
||||
vec4 OutputSize;
|
||||
uint FrameCount;
|
||||
float CS_SHARPNESS;
|
||||
float IR_SCALE;
|
||||
} params;
|
||||
|
||||
#pragma parameter CS_SHARPNESS "Sharpness" 0.4 0.0 1.0 0.1
|
||||
#pragma parameter IR_SCALE "INTERNAL RESOLUTION SCALE" 1.0 1.0 8.0 1.0
|
||||
|
||||
#define CS_SHARPNESS params.CS_SHARPNESS
|
||||
#define IR_SCALE params.IR_SCALE
|
||||
|
||||
layout(std140, set = 0, binding = 0) uniform UBO
|
||||
{
|
||||
mat4 MVP;
|
||||
} global;
|
||||
|
||||
#pragma stage vertex
|
||||
layout(location = 0) in vec4 Position;
|
||||
layout(location = 1) in vec2 TexCoord;
|
||||
layout(location = 0) out vec2 vTexCoord;
|
||||
layout(location = 1) out vec4 t1;
|
||||
layout(location = 2) out vec4 t2;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = global.MVP * Position;
|
||||
vTexCoord = TexCoord * 1.0001;
|
||||
float dx = params.SourceSize.z * IR_SCALE;
|
||||
float dy = params.SourceSize.w * IR_SCALE;
|
||||
|
||||
t1 = vTexCoord.xyyy + vec4( 0.0, -dy, 0.0, dy); // B E H
|
||||
t2 = vTexCoord.xxxy + vec4( -dx, 0.0, dx, 0.0); // D E F
|
||||
}
|
||||
|
||||
#pragma stage fragment
|
||||
layout(location = 0) in vec2 vTexCoord;
|
||||
layout(location = 1) in vec4 t1;
|
||||
layout(location = 2) in vec4 t2;
|
||||
layout(location = 3) in vec4 t3;
|
||||
layout(location = 0) out vec4 FragColor;
|
||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||
|
||||
|
||||
/*
|
||||
B
|
||||
D E F
|
||||
H
|
||||
*/
|
||||
|
||||
void main()
|
||||
{
|
||||
vec3 B = texture(Source, t1.xy).xyz;
|
||||
vec3 D = texture(Source, t2.xw).xyz;
|
||||
vec3 E = texture(Source, t2.yw).xyz;
|
||||
vec3 F = texture(Source, t2.zw).xyz;
|
||||
vec3 H = texture(Source, t1.xw).xyz;
|
||||
|
||||
vec3 color = (1.0 + CS_SHARPNESS) * E - 0.25 * CS_SHARPNESS * (B + D + F + H);
|
||||
|
||||
// Anti-ringing
|
||||
// Get min/max samples
|
||||
vec3 min_sample = min(min(E,min(D,F)), min(B,H));
|
||||
vec3 max_sample = max(max(E,max(D,F)), max(B,H));
|
||||
|
||||
vec3 aux = color;
|
||||
color = clamp(color, min_sample, max_sample);
|
||||
color = mix(aux, color, step(-0.00001, (E-D)*(F-E) + (E-B)*(H-E)));
|
||||
|
||||
FragColor = vec4(color, 1.0);
|
||||
}
|
44
downsample/shaders/mixed-res/coder.slang
Normal file
44
downsample/shaders/mixed-res/coder.slang
Normal file
@ -0,0 +1,44 @@
|
||||
#version 450
|
||||
|
||||
layout(push_constant) uniform Push
|
||||
{
|
||||
vec4 SourceSize;
|
||||
vec4 OriginalSize;
|
||||
vec4 OutputSize;
|
||||
uint FrameCount;
|
||||
} params;
|
||||
|
||||
layout(std140, set = 0, binding = 0) uniform UBO
|
||||
{
|
||||
mat4 MVP;
|
||||
} global;
|
||||
|
||||
const vec3 coder = vec3(0.299, 0.587, 0.114);
|
||||
//const vec3 coder = vec3(65536.,255.,1.);
|
||||
|
||||
|
||||
#pragma stage vertex
|
||||
layout(location = 0) in vec4 Position;
|
||||
layout(location = 1) in vec2 TexCoord;
|
||||
layout(location = 0) out vec2 vTexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = global.MVP * Position;
|
||||
vTexCoord = TexCoord;
|
||||
}
|
||||
|
||||
|
||||
#pragma stage fragment
|
||||
layout(location = 0) in vec2 vTexCoord;
|
||||
layout(location = 0) out vec4 FragColor;
|
||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 color = texture(Source, vTexCoord);
|
||||
|
||||
color.a = dot(color.rgb, coder);
|
||||
|
||||
FragColor = color;
|
||||
}
|
81
downsample/shaders/mixed-res/hires-tagger.slang
Normal file
81
downsample/shaders/mixed-res/hires-tagger.slang
Normal file
@ -0,0 +1,81 @@
|
||||
#version 450
|
||||
|
||||
/*
|
||||
Hyllian's high resolution tagger Shader
|
||||
|
||||
Copyright (C) 2011-2024 Hyllian - sergiogdb@gmail.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
*/
|
||||
|
||||
layout(push_constant) uniform Push
|
||||
{
|
||||
vec4 SourceSize;
|
||||
vec4 OriginalSize;
|
||||
vec4 OutputSize;
|
||||
uint FrameCount;
|
||||
float IR_SCALE;
|
||||
} params;
|
||||
|
||||
#pragma parameter IR_SCALE "INTERNAL RESOLUTION SCALE" 1.0 1.0 8.0 1.0
|
||||
#pragma parameter B_VIEW "SHOW HIRES DETECTION" 0.0 0.0 1.0 1.0
|
||||
#pragma parameter B_TRESH "BLUR THRESHOLD" 0.2 0.0 1.0 0.01
|
||||
|
||||
#define IR_SCALE params.IR_SCALE
|
||||
|
||||
layout(std140, set = 0, binding = 0) uniform UBO
|
||||
{
|
||||
mat4 MVP;
|
||||
} global;
|
||||
|
||||
|
||||
#pragma stage vertex
|
||||
layout(location = 0) in vec4 Position;
|
||||
layout(location = 1) in vec2 TexCoord;
|
||||
layout(location = 0) out vec2 vTexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = global.MVP * Position;
|
||||
vTexCoord = TexCoord;
|
||||
}
|
||||
|
||||
|
||||
#pragma stage fragment
|
||||
layout(location = 0) in vec2 vTexCoord;
|
||||
layout(location = 0) out vec4 FragColor;
|
||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||
|
||||
#define SCALE 1.0
|
||||
|
||||
void main()
|
||||
{
|
||||
vec2 tex = (floor(vTexCoord*params.SourceSize.xy/IR_SCALE) + vec2(0.5, 0.5))*IR_SCALE/params.SourceSize.xy;
|
||||
|
||||
vec2 g1 = vec2(IR_SCALE/params.SourceSize.x, 0.0);
|
||||
vec2 g2 = vec2(0.0, IR_SCALE/params.SourceSize.y);
|
||||
|
||||
float k0 = texture(Source, tex +0.1*g1+0.1*g2).a;
|
||||
float k1 = texture(Source, tex).a;
|
||||
|
||||
float hires = (k0==k1) ? 0.0 : 1.0;
|
||||
|
||||
FragColor = vec4(texture(Source, vTexCoord).rgb, hires);
|
||||
}
|
55
downsample/shaders/mixed-res/output.slang
Normal file
55
downsample/shaders/mixed-res/output.slang
Normal file
@ -0,0 +1,55 @@
|
||||
#version 450
|
||||
|
||||
layout(push_constant) uniform Push
|
||||
{
|
||||
vec4 SourceSize;
|
||||
vec4 OriginalSize;
|
||||
vec4 OutputSize;
|
||||
uint FrameCount;
|
||||
float B_VIEW;
|
||||
float B_TRESH;
|
||||
} params;
|
||||
|
||||
#pragma parameter B_VIEW "SHOW HIRES DETECTION" 0.0 0.0 1.0 1.0
|
||||
#pragma parameter B_TRESH "BLUR THRESHOLD" 0.2 0.0 1.0 0.01
|
||||
|
||||
#define B_VIEW params.B_VIEW
|
||||
#define B_TRESH params.B_TRESH
|
||||
|
||||
layout(std140, set = 0, binding = 0) uniform UBO
|
||||
{
|
||||
mat4 MVP;
|
||||
} global;
|
||||
|
||||
const vec3 coder = vec3(0.299, 0.587, 0.114);
|
||||
|
||||
#pragma stage vertex
|
||||
layout(location = 0) in vec4 Position;
|
||||
layout(location = 1) in vec2 TexCoord;
|
||||
layout(location = 0) out vec2 vTexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = global.MVP * Position;
|
||||
vTexCoord = TexCoord;
|
||||
}
|
||||
|
||||
#pragma stage fragment
|
||||
layout(location = 0) in vec2 vTexCoord;
|
||||
layout(location = 0) out vec4 FragColor;
|
||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||
layout(set = 0, binding = 3) uniform sampler2D HiresSource;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 c_a = texture(HiresSource, vTexCoord);
|
||||
|
||||
float tag = c_a.a;
|
||||
|
||||
vec3 c_hires = c_a.rgb;
|
||||
vec3 c_lowres = texture(Source, vTexCoord).rgb;
|
||||
|
||||
vec3 color = mix(c_lowres, mix(c_hires, vec3(0.0, 0.0, dot(c_hires, coder)), B_VIEW), smoothstep(0.0, B_TRESH, tag));
|
||||
|
||||
FragColor = vec4(color, 1.0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user