Improves smooth shaders presets

- Swap stock linear by cubic multipass shaders.
- Improves IQ for 4xSoft, 2xSaL, 2xSacaleHq, 4xScaleHq, HQ2x, HQ3x, HQ4x, 2xBRz, 2xSaI, Super-2xSaI and Advance2x-AA.
This commit is contained in:
Hyllian 2022-08-14 17:17:07 -03:00
parent 704ad4f85d
commit 2a4a05d863
12 changed files with 123 additions and 30 deletions

View file

@ -1,4 +1,4 @@
shaders = 2 shaders = 3
shader0 = shaders/advanced-aa.slang shader0 = shaders/advanced-aa.slang
filter_linear0 = false filter_linear0 = false
@ -6,5 +6,11 @@ scale_type0 = source
scale_x0 = 2.0 scale_x0 = 2.0
scale_y0 = 2.0 scale_y0 = 2.0
shader1 = ../stock.slang shader1 = ../cubic/shaders/bicubic-x.slang
filter_linear1 = true filter_linear1 = false
scale_type_x1 = viewport
scale_type_y1 = source
scale1 = 1.0
shader2 = ../cubic/shaders/bicubic-y.slang
filter_linear2 = false

View file

@ -1,4 +1,4 @@
shaders = 2 shaders = 3
shader0 = shaders/2xsai.slang shader0 = shaders/2xsai.slang
filter_linear0 = false filter_linear0 = false
@ -6,5 +6,12 @@ scale_type0 = source
scale_x0 = 2.0 scale_x0 = 2.0
scale_y0 = 2.0 scale_y0 = 2.0
shader1 = ../stock.slang shader1 = ../cubic/shaders/bicubic-x.slang
filter_linear1 = true filter_linear1 = false
scale_type_x1 = viewport
scale_type_y1 = source
scale1 = 1.0
shader2 = ../cubic/shaders/bicubic-y.slang
filter_linear2 = false

View file

@ -1,4 +1,4 @@
shaders = 2 shaders = 3
shader0 = shaders/super-2xsai.slang shader0 = shaders/super-2xsai.slang
filter_linear0 = false filter_linear0 = false
@ -6,5 +6,11 @@ scale_type0 = source
scale_x0 = 2.0 scale_x0 = 2.0
scale_y0 = 2.0 scale_y0 = 2.0
shader1 = ../stock.slang shader1 = ../cubic/shaders/bicubic-x.slang
filter_linear1 = true filter_linear1 = false
scale_type_x1 = viewport
scale_type_y1 = source
scale1 = 1.0
shader2 = ../cubic/shaders/bicubic-y.slang
filter_linear2 = false

View file

@ -1,4 +1,4 @@
shaders = 2 shaders = 4
shader0 = shader-files/pass1.slang shader0 = shader-files/pass1.slang
shader1 = shader-files/hq2x.slang shader1 = shader-files/hq2x.slang
@ -10,6 +10,15 @@ filter_linear1 = false
scale_type1 = source scale_type1 = source
scale1 = 2.0 scale1 = 2.0
shader2 = ../cubic/shaders/bicubic-x.slang
filter_linear2 = false
scale_type_x2 = viewport
scale_type_y2 = source
scale2 = 1.0
shader3 = ../cubic/shaders/bicubic-y.slang
filter_linear3 = false
textures = LUT textures = LUT
LUT = resources/hq2x.png LUT = resources/hq2x.png
LUT_linear = false LUT_linear = false

View file

@ -1,4 +1,4 @@
shaders = 2 shaders = 4
shader0 = shader-files/pass1.slang shader0 = shader-files/pass1.slang
shader1 = shader-files/hq3x.slang shader1 = shader-files/hq3x.slang
@ -10,6 +10,16 @@ filter_linear1 = false
scale_type1 = source scale_type1 = source
scale1 = 3.0 scale1 = 3.0
shader2 = ../cubic/shaders/b-spline-x.slang
filter_linear2 = false
scale_type_x2 = viewport
scale_type_y2 = source
scale2 = 1.0
shader3 = ../cubic/shaders/b-spline-y.slang
filter_linear3 = false
textures = LUT textures = LUT
LUT = resources/hq3x.png LUT = resources/hq3x.png
LUT_linear = false LUT_linear = false

View file

@ -1,4 +1,4 @@
shaders = 2 shaders = 4
shader0 = shader-files/pass1.slang shader0 = shader-files/pass1.slang
shader1 = shader-files/hq4x.slang shader1 = shader-files/hq4x.slang
@ -10,6 +10,15 @@ filter_linear1 = false
scale_type1 = source scale_type1 = source
scale1 = 4.0 scale1 = 4.0
shader2 = ../cubic/shaders/b-spline-x.slang
filter_linear2 = false
scale_type_x2 = viewport
scale_type_y2 = source
scale2 = 1.0
shader3 = ../cubic/shaders/b-spline-y.slang
filter_linear3 = false
textures = LUT textures = LUT
LUT = resources/hq4x.png LUT = resources/hq4x.png
LUT_linear = false LUT_linear = false

View file

@ -1,6 +1,17 @@
shaders = 1 shaders = 3
shader0 = "shaders/2xScaleHQ.slang" shader0 = shaders/2xScaleHQ.slang
filter_linear0 = false filter_linear0 = false
scale_type0 = source scale_type0 = source
scale0 = 2.0 scale_x0 = 2.0
scale_y0 = 2.0
shader1 = ../cubic/shaders/bicubic-x.slang
filter_linear1 = false
scale_type_x1 = viewport
scale_type_y1 = source
scale1 = 1.0
shader2 = ../cubic/shaders/bicubic-y.slang
filter_linear2 = false

View file

@ -1,6 +1,17 @@
shaders = 1 shaders = 3
shader0 = "shaders/4xScaleHQ.slang" shader0 = shaders/4xScaleHQ.slang
filter_linear0 = false filter_linear0 = false
scale_type0 = source scale_type0 = source
scale0 = 4.0 scale_x0 = 4.0
scale_y0 = 4.0
shader1 = ../cubic/shaders/bicubic-x.slang
filter_linear1 = false
scale_type_x1 = viewport
scale_type_y1 = source
scale1 = 1.0
shader2 = ../cubic/shaders/bicubic-y.slang
filter_linear2 = false

View file

@ -1,9 +1,15 @@
shaders = 2 shaders = 3
shader0 = shaders/2xbrz.slang shader0 = shaders/2xbrz.slang
filter_linear0 = false filter_linear0 = false
scale_type0 = source scale_type0 = source
scale0 = 2.0 scale0 = 2.0
shader1 = ../stock.slang shader1 = ../cubic/shaders/bicubic-x.slang
filter_linear1 = true filter_linear1 = false
scale_type_x1 = viewport
scale_type_y1 = source
scale1 = 1.0
shader2 = ../cubic/shaders/bicubic-y.slang
filter_linear2 = false

View file

@ -1,4 +1,4 @@
shaders = 2 shaders = 3
shader0 = shaders/2xsal.slang shader0 = shaders/2xsal.slang
filter_linear0 = false filter_linear0 = false
@ -6,5 +6,11 @@ scale_type0 = source
scale_x0 = 2.0 scale_x0 = 2.0
scale_y0 = 2.0 scale_y0 = 2.0
shader1 = ../stock.slang shader1 = ../cubic/shaders/spline16-x.slang
filter_linear1 = true filter_linear1 = false
scale_type_x1 = viewport
scale_type_y1 = source
scale1 = 1.0
shader2 = ../cubic/shaders/spline16-y.slang
filter_linear2 = false

View file

@ -1,4 +1,4 @@
shaders = 3 shaders = 4
shader0 = ../stock.slang shader0 = ../stock.slang
filter_linear0 = false filter_linear0 = false
@ -12,5 +12,11 @@ scale_type1 = source
scale_x1 = 2.0 scale_x1 = 2.0
scale_y1 = 2.0 scale_y1 = 2.0
shader2 = ../stock.slang shader2 = ../cubic/shaders/b-spline-x.slang
filter_linear2 = true filter_linear2 = false
scale_type_x2 = viewport
scale_type_y2 = source
scale2 = 1.0
shader3 = ../cubic/shaders/b-spline-y.slang
filter_linear3 = false

View file

@ -1,4 +1,4 @@
shaders = 3 shaders = 4
shader0 = ../stock.slang shader0 = ../stock.slang
filter_linear0 = false filter_linear0 = false
@ -12,5 +12,11 @@ scale_type1 = source
scale_x1 = 2.0 scale_x1 = 2.0
scale_y1 = 2.0 scale_y1 = 2.0
shader2 = ../stock.slang shader2 = ../cubic/shaders/b-spline-x.slang
filter_linear2 = true filter_linear2 = false
scale_type_x2 = viewport
scale_type_y2 = source
scale2 = 1.0
shader3 = ../cubic/shaders/b-spline-y.slang
filter_linear3 = false