slang-shaders/presets/crt-guest-advanced-ntsc.slangp
hunterk 8524a42da5
Add crt-guest-advanced, update other crt-guest, update ntsc-adaptive (#183)
* update crt-guest, add advanced

* re-add some prematurely deleted GDV passes

* fix ntsc res behavior

* disable field-merging on 2-phase to allow MD rainbow artifacting

* remove unused function
2021-07-30 08:24:20 -05:00

135 lines
3.1 KiB
Plaintext

shaders = 17
shader0 = ../stock.slang
filter_linear0 = false
scale_type0 = source
scale0 = 1.0
shader1 = ../stock.slang
filter_linear1 = false
scale_type1 = source
scale1 = 1.0
alias1 = StockPass
shader2 = ../crt/shaders/guest/advanced/afterglow0.slang
filter_linear2 = true
scale_type2 = source
scale2 = 1.0
alias2 = AfterglowPass
shader3 = ../crt/shaders/guest/advanced/pre-shaders-afterglow.slang
filter_linear3 = true
scale_type3 = source
scale3 = 1.0
alias3 = PrePass0
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4"
SamplerLUT1 = ../crt/shaders/guest/advanced/lut/trinitron-lut.png
SamplerLUT1_linear = true
SamplerLUT2 = ../crt/shaders/guest/advanced/lut/inv-trinitron-lut.png
SamplerLUT2_linear = true
SamplerLUT3 = ../crt/shaders/guest/advanced/lut/nec-lut.png
SamplerLUT3_linear = true
SamplerLUT4 = ../crt/shaders/guest/advanced/lut/ntsc-lut.png
SamplerLUT4_linear = true
# custom ntsc shaders
shader4 = ../ntsc/shaders/ntsc-adaptive/ntsc-pass1.slang
shader5 = ../ntsc/shaders/ntsc-adaptive/ntsc-pass2.slang
filter_linear4 = false
filter_linear5 = true
scale_type_x4 = source
scale_type_y4 = source
scale_x4 = 4.0
scale_y4 = 1.0
frame_count_mod4 = 2
float_framebuffer4 = true
scale_type5 = source
scale_x5 = 0.5
scale_y5 = 1.0
shader6 = ../crt/shaders/guest/advanced/custom-fast-sharpen.slang
filter_linear6 = true
scale_type6 = source
scale_x6 = 1.0
scale_y6 = 1.0
alias6 = NtscPass
shader7 = ../crt/shaders/guest/advanced/convert-ntsc.slang
filter_linear7 = true
scale_type7 = source
scale_x7 = 0.5
scale_y7 = 1.0
shader8 = ../stock.slang
filter_linear8 = true
scale_type8 = source
scale_x8 = 1.0
scale_y8 = 1.0
alias8 = PrePass
mipmap_input8 = true
shader9 = ../crt/shaders/guest/advanced/avg-lum-ntsc.slang
filter_linear9 = true
scale_type9 = source
scale9 = 1.0
mipmap_input9 = true
alias9 = AvgLumPass
shader10 = ../crt/shaders/guest/advanced/linearize-ntsc.slang
filter_linear10 = true
scale_type10 = source
scale10 = 1.0
alias10 = LinearizePass
float_framebuffer10 = true
shader11 = ../crt/shaders/guest/advanced/gaussian_horizontal.slang
filter_linear11 = true
scale_type_x11 = absolute
scale_x11 = 640.0
scale_type_y11 = source
scale_y11 = 1.0
float_framebuffer11 = true
shader12 = ../crt/shaders/guest/advanced/gaussian_vertical.slang
filter_linear12 = true
scale_type_x12 = absolute
scale_x12 = 640.0
scale_type_y12 = absolute
scale_y12 = 480.0
float_framebuffer12 = true
alias12 = GlowPass
shader13 = ../crt/shaders/guest/advanced/bloom_horizontal.slang
filter_linear13 = true
scale_type_x13 = absolute
scale_x13 = 640.0
scale_type_y13 = absolute
scale_y13 = 480.0
float_framebuffer13 = true
shader14 = ../crt/shaders/guest/advanced/bloom_vertical.slang
filter_linear14 = true
scale_type_x14 = absolute
scale_x14 = 640.0
scale_type_y14 = absolute
scale_y14 = 480.0
float_framebuffer14 = true
alias14 = BloomPass
shader15 = ../crt/shaders/guest/advanced/crt-guest-advanced-ntsc.slang
filter_linear15 = true
scale_type15 = viewport
scale_x15 = 1.0
scale_y15 = 1.0
shader16 = ../crt/shaders/guest/advanced/deconvergence.slang
filter_linear16 = true
scale_type16 = viewport
scale_x16 = 1.0
scale_y16 = 1.0