shaders = 9

shader0 = ../stock.slang
alias0 = PrePass0

shader1 = ../crt/shaders/guest/advanced/ntsc/ntsc-pass1.slang
alias1 = NPass1
scale_type_x1 = source
scale_type_y1 = source
scale_x1 = 4.0
scale_y1 = 1.0
float_framebuffer1 = true
filter_linear1 = false

shader2 = ../crt/shaders/guest/advanced/ntsc/ntsc-pass2.slang
filter_linear2 = true
float_framebuffer2 = true
scale_type2 = source
scale_x2 = 0.5
scale_y2 = 1.0

shader3 = ../crt/shaders/guest/advanced/ntsc/ntsc-pass3.slang
filter_linear3 = true
scale_type3 = source
scale_x3 = 1.0
scale_y3 = 1.0

shader4 = ../crt/shaders/phosphorlut/scanlines-interlace-linearize.slang
alias4 = firstPass
scale4 = 2.0
scale_type4 = source
srgb_framebuffer4 = true
filter_linear4 = false

shader5 = ../blurs/shaders/royale/blur5fast-vertical.slang
scale_type5 = source
scale5 = 1.0
srgb_framebuffer5 = true
filter_linear5 = true
alias5 = blurPassV

shader6 = ../blurs/shaders/royale/blur5fast-horizontal.slang
alias6 = blurPass
filter_linear6 = true
scale6 = 1.0
scale_type6 = source
srgb_framebuffer6 = true

shader7 = ../crt/shaders/phosphorlut/phosphorlut-pass0.slang
alias7 = phosphorPass
filter_linear7 = true
scale_type7 = source
scale_x7 = 4.0
scale_y7 = 2.0
srgb_framebuffer7 = true

shader8 = ../crt/shaders/phosphorlut/phosphorlut-pass1.slang
filter_linear8 = true

parameters = "diffusion;PHOSPHOR_SCALE_X"
diffusion = 0.6
PHOSPHOR_SCALE_X = 4.0
quality = 1.0

textures = "shadow;aperture;slot"
shadow = ../crt/shaders/phosphorlut/luts/shadowmask.png
aperture = ../crt/shaders/phosphorlut/luts/aperture-grille.png
slot = ../crt/shaders/phosphorlut/luts/slotmask.png
