Merge pull request #355 from HyperspaceMadness/master

Version V1.9.0_2023-01-22
This commit is contained in:
hizzlekizzle 2023-01-25 12:44:39 -06:00 committed by GitHub
commit 59ab071325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
196 changed files with 15147 additions and 12098 deletions

View file

@ -1,4 +1,4 @@
shaders = 45
shaders = 43
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,206 +43,222 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang
shader32 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang
filter_linear32 = false
srgb_framebuffer32 = true
shader33 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang
filter_linear33 = false
srgb_framebuffer33 = true
shader34 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang
filter_linear34 = false
srgb_framebuffer34 = true
shader35 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang
filter_linear35 = false
srgb_framebuffer35 = true
shader36 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang
filter_linear36 = false
srgb_framebuffer36 = true
// Easymode's Shader!
shader37 = ../../shaders/easymode/hsm-crt-easymode-halation.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "CRTPass"
shader35 = ../../shaders/easymode/hsm-crt-easymode-halation.slang
filter_linear35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "CRTPass"
g_gamma_out = 2.45
shader38 = ../../shaders/base/post-crt-prep-glass.slang
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "PostCRTPass"
shader36 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input36 = true
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader39 = ../../shaders/base/linearize-crt.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
// scale_x39 = 480
// scale_y39 = 270
// scale_x39 = 960
// scale_y39 = 540
scale_x39 = 800
scale_y39 = 600
float_framebuffer39 = true
alias39 = "BR_MirrorLowResPass"
shader37 = ../../shaders/base/linearize-crt.slang
mipmap_input37 = true
filter_linear37 = true
scale_type37 = absolute
// scale_x37 = 480
// scale_y37 = 270
// scale_x37 = 960
// scale_y37 = 540
scale_x37 = 800
scale_y37 = 600
float_framebuffer37 = true
alias37 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader40 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input40 = true
filter_linear40 = true
float_framebuffer40 = true
shader38 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input38 = true
filter_linear38 = true
float_framebuffer38 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader41 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear41 = true
float_framebuffer41 = true
alias41 = "BR_MirrorBlurredPass"
shader39 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear39 = true
float_framebuffer39 = true
alias39 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader42 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
scale_x42 = 128
scale_y42 = 128
float_framebuffer42 = true
alias42 = "BR_MirrorReflectionDiffusedPass"
shader40 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input40 = true
filter_linear40 = true
scale_type40 = absolute
scale_x40 = 128
scale_y40 = 128
float_framebuffer40 = true
alias40 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader43 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input43 = true
filter_linear43 = true
scale_type43 = absolute
scale_x43 = 12
scale_y43 = 12
float_framebuffer43 = true
alias43 = "BR_MirrorFullscreenGlowPass"
shader41 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
scale_x41 = 12
scale_y41 = 12
float_framebuffer41 = true
alias41 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader44 = ../../shaders/base/reflection-glass.slang
scale_type44 = viewport
srgb_framebuffer44 = true
alias44 = "ReflectionPass"
shader42 = ../../shaders/base/reflection-glass.slang
scale_type42 = viewport
srgb_framebuffer42 = true
alias42 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -373,7 +389,7 @@ g_vignette = "0.0"
// Easymode Parameters
gamma_out = 2.2
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -382,7 +398,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 43
shaders = 41
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,200 +43,216 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader32 = ../../shaders/base/delinearize.slang
scale_type32 = source
float_framebuffer32 = "true"
shader33 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/base/delinearize.slang
scale_type34 = source
float_framebuffer34 = "true"
shader35 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
filter_linear35 = true
float_framebuffer35 = "true"
alias35 = "CRTPass"
float_framebuffer33 = "true"
alias33 = "CRTPass"
g_sat = 0.15
g_gamma_out = 2.45
shader36 = ../../shaders/base/post-crt-prep-glass.slang
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "PostCRTPass"
shader34 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input34 = true
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader37 = ../../shaders/base/linearize-crt.slang
mipmap_input37 = true
filter_linear37 = true
scale_type37 = absolute
// scale_x37 = 480
// scale_y37 = 270
// scale_x37 = 960
// scale_y37 = 540
scale_x37 = 800
scale_y37 = 600
float_framebuffer37 = true
alias37 = "BR_MirrorLowResPass"
shader35 = ../../shaders/base/linearize-crt.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
// scale_x35 = 480
// scale_y35 = 270
// scale_x35 = 960
// scale_y35 = 540
scale_x35 = 800
scale_y35 = 600
float_framebuffer35 = true
alias35 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader38 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input38 = true
filter_linear38 = true
float_framebuffer38 = true
shader36 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input36 = true
filter_linear36 = true
float_framebuffer36 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader39 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear39 = true
float_framebuffer39 = true
alias39 = "BR_MirrorBlurredPass"
shader37 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear37 = true
float_framebuffer37 = true
alias37 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader40 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input40 = true
filter_linear40 = true
scale_type40 = absolute
scale_x40 = 128
scale_y40 = 128
float_framebuffer40 = true
alias40 = "BR_MirrorReflectionDiffusedPass"
shader38 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
scale_x38 = 128
scale_y38 = 128
float_framebuffer38 = true
alias38 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader41 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
scale_x41 = 12
scale_y41 = 12
float_framebuffer41 = true
alias41 = "BR_MirrorFullscreenGlowPass"
shader39 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
scale_x39 = 12
scale_y39 = 12
float_framebuffer39 = true
alias39 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader42 = ../../shaders/base/reflection-glass.slang
scale_type42 = viewport
srgb_framebuffer42 = true
alias42 = "ReflectionPass"
shader40 = ../../shaders/base/reflection-glass.slang
scale_type40 = viewport
srgb_framebuffer40 = true
alias40 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -364,7 +380,7 @@ HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000"
g_vignette = "0.0"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -373,7 +389,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 50
shaders = 48
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,255 +43,271 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = GlowPass
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = GlowPass
alias38 = BloomPass
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = BloomPass
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
shader42 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
shader43 = ../../shaders/base/post-crt-prep-glass.slang
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias41 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader44 = ../../shaders/base/linearize-crt.slang
mipmap_input44 = true
filter_linear44 = true
scale_type44 = absolute
// scale_x44 = 480
// scale_y44 = 270
// scale_x44 = 960
// scale_y44 = 540
scale_x44 = 800
scale_y44 = 600
float_framebuffer44 = true
alias44 = "BR_MirrorLowResPass"
shader42 = ../../shaders/base/linearize-crt.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
// scale_x42 = 480
// scale_y42 = 270
// scale_x42 = 960
// scale_y42 = 540
scale_x42 = 800
scale_y42 = 600
float_framebuffer42 = true
alias42 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader45 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input45 = true
filter_linear45 = true
float_framebuffer45 = true
shader43 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input43 = true
filter_linear43 = true
float_framebuffer43 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader46 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear46 = true
float_framebuffer46 = true
alias46 = "BR_MirrorBlurredPass"
shader44 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear44 = true
float_framebuffer44 = true
alias44 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader47 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input47 = true
filter_linear47 = true
scale_type47 = absolute
scale_x47 = 128
scale_y47 = 128
float_framebuffer47 = true
alias47 = "BR_MirrorReflectionDiffusedPass"
shader45 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input45 = true
filter_linear45 = true
scale_type45 = absolute
scale_x45 = 128
scale_y45 = 128
float_framebuffer45 = true
alias45 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader48 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input48 = true
filter_linear48 = true
scale_type48 = absolute
scale_x48 = 12
scale_y48 = 12
float_framebuffer48 = true
alias48 = "BR_MirrorFullscreenGlowPass"
shader46 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input46 = true
filter_linear46 = true
scale_type46 = absolute
scale_x46 = 12
scale_y46 = 12
float_framebuffer46 = true
alias46 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader49 = ../../shaders/base/reflection-glass.slang
scale_type49 = viewport
srgb_framebuffer49 = true
alias49 = "ReflectionPass"
shader47 = ../../shaders/base/reflection-glass.slang
scale_type47 = viewport
srgb_framebuffer47 = true
alias47 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -419,7 +435,7 @@ HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000"
g_vignette = "0.0"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -428,7 +444,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -440,3 +456,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 47
shaders = 45
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,234 +43,250 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = GlowPass
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = GlowPass
alias35 = BloomPass
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = BloomPass
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
shader40 = ../../shaders/base/post-crt-prep-glass.slang
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias38 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader41 = ../../shaders/base/linearize-crt.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
// scale_x41 = 480
// scale_y41 = 270
// scale_x41 = 960
// scale_y41 = 540
scale_x41 = 800
scale_y41 = 600
float_framebuffer41 = true
alias41 = "BR_MirrorLowResPass"
shader39 = ../../shaders/base/linearize-crt.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
// scale_x39 = 480
// scale_y39 = 270
// scale_x39 = 960
// scale_y39 = 540
scale_x39 = 800
scale_y39 = 600
float_framebuffer39 = true
alias39 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader42 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input42 = true
filter_linear42 = true
float_framebuffer42 = true
shader40 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input40 = true
filter_linear40 = true
float_framebuffer40 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader43 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear43 = true
float_framebuffer43 = true
alias43 = "BR_MirrorBlurredPass"
shader41 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear41 = true
float_framebuffer41 = true
alias41 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader44 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input44 = true
filter_linear44 = true
scale_type44 = absolute
scale_x44 = 128
scale_y44 = 128
float_framebuffer44 = true
alias44 = "BR_MirrorReflectionDiffusedPass"
shader42 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
scale_x42 = 128
scale_y42 = 128
float_framebuffer42 = true
alias42 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader45 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input45 = true
filter_linear45 = true
scale_type45 = absolute
scale_x45 = 12
scale_y45 = 12
float_framebuffer45 = true
alias45 = "BR_MirrorFullscreenGlowPass"
shader43 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input43 = true
filter_linear43 = true
scale_type43 = absolute
scale_x43 = 12
scale_y43 = 12
float_framebuffer43 = true
alias43 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader46 = ../../shaders/base/reflection-glass.slang
scale_type46 = viewport
srgb_framebuffer46 = true
alias46 = "ReflectionPass"
shader44 = ../../shaders/base/reflection-glass.slang
scale_type44 = viewport
srgb_framebuffer44 = true
alias44 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -398,7 +414,7 @@ HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000"
g_vignette = "0.0"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -407,7 +423,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 43
shaders = 41
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,195 +43,211 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/base/delinearize.slang
float_framebuffer34 = "true"
shader32 = ../../shaders/base/delinearize.slang
float_framebuffer32 = "true"
shader35 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear35 = "false"
scale_type35 = "viewport"
scale35 = "1.0"
float_framebuffer35 = "true"
alias35 = "CRTPass"
shader33 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear33 = "false"
scale_type33 = "viewport"
scale33 = "1.0"
float_framebuffer33 = "true"
alias33 = "CRTPass"
shader36 = ../../shaders/base/post-crt-prep-glass.slang
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "PostCRTPass"
shader34 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input34 = true
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader37 = ../../shaders/base/linearize-crt.slang
mipmap_input37 = true
filter_linear37 = true
scale_type37 = absolute
// scale_x37 = 480
// scale_y37 = 270
// scale_x37 = 960
// scale_y37 = 540
scale_x37 = 800
scale_y37 = 600
float_framebuffer37 = true
alias37 = "BR_MirrorLowResPass"
shader35 = ../../shaders/base/linearize-crt.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
// scale_x35 = 480
// scale_y35 = 270
// scale_x35 = 960
// scale_y35 = 540
scale_x35 = 800
scale_y35 = 600
float_framebuffer35 = true
alias35 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader38 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input38 = true
filter_linear38 = true
float_framebuffer38 = true
shader36 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input36 = true
filter_linear36 = true
float_framebuffer36 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader39 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear39 = true
float_framebuffer39 = true
alias39 = "BR_MirrorBlurredPass"
shader37 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear37 = true
float_framebuffer37 = true
alias37 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader40 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input40 = true
filter_linear40 = true
scale_type40 = absolute
scale_x40 = 128
scale_y40 = 128
float_framebuffer40 = true
alias40 = "BR_MirrorReflectionDiffusedPass"
shader38 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
scale_x38 = 128
scale_y38 = 128
float_framebuffer38 = true
alias38 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader41 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
scale_x41 = 12
scale_y41 = 12
float_framebuffer41 = true
alias41 = "BR_MirrorFullscreenGlowPass"
shader39 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
scale_x39 = 12
scale_y39 = 12
float_framebuffer39 = true
alias39 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader42 = ../../shaders/base/reflection-glass.slang
scale_type42 = viewport
srgb_framebuffer42 = true
alias42 = "ReflectionPass"
shader40 = ../../shaders/base/reflection-glass.slang
scale_type40 = viewport
srgb_framebuffer40 = true
alias40 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -359,7 +375,7 @@ HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000"
g_vignette = "0.0"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 1
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1

View file

@ -1,4 +1,4 @@
shaders = 47
shaders = 45
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,226 +43,242 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
float_framebuffer33 = true
alias33 = "PrePass"
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
float_framebuffer34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader36 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
float_framebuffer34 = "true"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader36 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear36 = "false"
scale_type36 = "source"
scale36 = "1.0"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
alias36 = "SourceSDR"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
shader37 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear37 = "false"
scale_type37 = "source"
scale37 = "1.0"
wrap_mode37 = "clamp_to_border"
mipmap_input37 = "false"
alias37 = "SourceHDR"
float_framebuffer37 = "true"
shader38 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear38 = "false"
wrap_mode38 = "clamp_to_border"
mipmap_input38 = "false"
scale_type38 = "viewport"
float_framebuffer38 = "true"
alias38 = "CRTPass"
shader39 = ../../shaders/base/post-crt-prep-glass.slang
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "PostCRTPass"
shader37 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader40 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input40 = true
filter_linear40 = true
scale_type40 = absolute
// scale_x40 = 480
// scale_y40 = 270
// scale_x40 = 960
// scale_y40 = 540
scale_x40 = 800
scale_y40 = 600
float_framebuffer40 = true
alias40 = "BR_MirrorLowResPass"
shader38 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
// scale_x38 = 480
// scale_y38 = 270
// scale_x38 = 960
// scale_y38 = 540
scale_x38 = 800
scale_y38 = 600
float_framebuffer38 = true
alias38 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader41 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input41 = true
filter_linear41 = true
float_framebuffer41 = true
shader39 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input39 = true
filter_linear39 = true
float_framebuffer39 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader42 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear42 = true
float_framebuffer42 = true
alias42 = "BR_MirrorBlurredPass"
shader40 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear40 = true
float_framebuffer40 = true
alias40 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader43 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input43 = true
filter_linear43 = true
scale_type43 = absolute
scale_x43 = 128
scale_y43 = 128
float_framebuffer43 = true
alias43 = "BR_MirrorReflectionDiffusedPass"
shader41 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
scale_x41 = 128
scale_y41 = 128
float_framebuffer41 = true
alias41 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader44 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input44 = true
filter_linear44 = true
scale_type44 = absolute
scale_x44 = 12
scale_y44 = 12
float_framebuffer44 = true
alias44 = "BR_MirrorFullscreenGlowPass"
shader42 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
scale_x42 = 12
scale_y42 = 12
float_framebuffer42 = true
alias42 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader45 = ../../shaders/base/reflection-glass-hdr.slang
scale_type45 = viewport
alias45 = "ReflectionPass"
shader43 = ../../shaders/base/reflection-glass-hdr.slang
scale_type43 = viewport
alias43 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader46 = ../../shaders/base/output-hdr.slang
scale_type46 = viewport
alias46 = "OutputPass"
shader44 = ../../shaders/base/output-hdr.slang
scale_type44 = viewport
alias44 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -398,7 +414,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -407,7 +423,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -419,3 +435,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 45
shaders = 43
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,214 +43,230 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
float_framebuffer29 = true
alias29 = "PrePass"
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
float_framebuffer30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear32 = "false"
scale_type32 = "source"
scale32 = "1.0"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
alias32 = "SourceSDR"
float_framebuffer32 = "true"
shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear33 = "false"
scale_type33 = "source"
scale33 = "1.0"
wrap_mode33 = "clamp_to_border"
mipmap_input33 = "false"
alias33 = "SourceHDR"
float_framebuffer33 = "true"
shader34 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
scale_type34 = "viewport"
float_framebuffer34 = "true"
alias34 = "CRTPass"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader36 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear36 = "false"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-glass.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
shader35 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader38 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
// scale_x38 = 480
// scale_y38 = 270
// scale_x38 = 960
// scale_y38 = 540
scale_x38 = 800
scale_y38 = 600
float_framebuffer38 = true
alias38 = "BR_MirrorLowResPass"
shader36 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
// scale_x36 = 480
// scale_y36 = 270
// scale_x36 = 960
// scale_y36 = 540
scale_x36 = 800
scale_y36 = 600
float_framebuffer36 = true
alias36 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader39 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input39 = true
filter_linear39 = true
float_framebuffer39 = true
shader37 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input37 = true
filter_linear37 = true
float_framebuffer37 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader40 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear40 = true
float_framebuffer40 = true
alias40 = "BR_MirrorBlurredPass"
shader38 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear38 = true
float_framebuffer38 = true
alias38 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader41 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
scale_x41 = 128
scale_y41 = 128
float_framebuffer41 = true
alias41 = "BR_MirrorReflectionDiffusedPass"
shader39 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
scale_x39 = 128
scale_y39 = 128
float_framebuffer39 = true
alias39 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader42 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
scale_x42 = 12
scale_y42 = 12
float_framebuffer42 = true
alias42 = "BR_MirrorFullscreenGlowPass"
shader40 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input40 = true
filter_linear40 = true
scale_type40 = absolute
scale_x40 = 12
scale_y40 = 12
float_framebuffer40 = true
alias40 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader43 = ../../shaders/base/reflection-glass-hdr.slang
scale_type43 = viewport
alias43 = "ReflectionPass"
shader41 = ../../shaders/base/reflection-glass-hdr.slang
scale_type41 = viewport
alias41 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader44 = ../../shaders/base/output-hdr.slang
scale_type44 = viewport
alias44 = "OutputPass"
shader42 = ../../shaders/base/output-hdr.slang
scale_type42 = viewport
alias42 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -386,7 +402,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -395,7 +411,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 47
shaders = 45
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,215 +43,231 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = "GlowPass"
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = "GlowPass"
alias38 = "BloomPass"
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = "BloomPass"
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
shader42 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
shader43 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias41 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader44 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear44 = true
scale_type44 = viewport
float_framebuffer44 = true
alias44 = "BR_LayersUnderCRTPass"
shader42 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear42 = true
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "BR_LayersUnderCRTPass"
shader45 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear45 = true
scale_type45 = viewport
float_framebuffer45 = true
alias45 = "BR_LayersOverCRTPass"
shader43 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear43 = true
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader46 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type46 = viewport
alias46 = "CombinePass"
shader44 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type44 = viewport
alias44 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -343,7 +359,7 @@ TopLayerImage_mipmap = 1
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -352,7 +368,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -364,3 +380,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 44
shaders = 42
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,194 +43,210 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = "GlowPass"
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "GlowPass"
alias35 = "BloomPass"
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = "BloomPass"
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias38 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader41 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear41 = true
scale_type41 = viewport
float_framebuffer41 = true
alias41 = "BR_LayersUnderCRTPass"
shader39 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersUnderCRTPass"
shader42 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear42 = true
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "BR_LayersOverCRTPass"
shader40 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader43 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type43 = viewport
alias43 = "CombinePass"
shader41 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type41 = viewport
alias41 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -322,7 +338,7 @@ TopLayerImage_mipmap = 1
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -331,7 +347,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 43
shaders = 41
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,182 +43,198 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
float_framebuffer33 = true
alias33 = "PrePass"
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
float_framebuffer34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader36 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
float_framebuffer34 = "true"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader36 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear36 = "false"
scale_type36 = "source"
scale36 = "1.0"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
alias36 = "SourceSDR"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
shader37 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear37 = "false"
scale_type37 = "source"
scale37 = "1.0"
wrap_mode37 = "clamp_to_border"
mipmap_input37 = "false"
alias37 = "SourceHDR"
float_framebuffer37 = "true"
shader38 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear38 = "false"
wrap_mode38 = "clamp_to_border"
mipmap_input38 = "false"
scale_type38 = "viewport"
float_framebuffer38 = "true"
alias38 = "CRTPass"
shader39 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "PostCRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader40 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "BR_LayersUnderCRTPass"
shader38 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersUnderCRTPass"
shader41 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear41 = true
scale_type41 = viewport
float_framebuffer41 = true
alias41 = "BR_LayersOverCRTPass"
shader39 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader42 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type42 = viewport
alias42 = "CombinePass"
shader40 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type40 = viewport
alias40 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -318,7 +334,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -327,7 +343,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -339,3 +355,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 41
shaders = 39
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,170 +43,186 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
float_framebuffer29 = true
alias29 = "PrePass"
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
float_framebuffer30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear32 = "false"
scale_type32 = "source"
scale32 = "1.0"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
alias32 = "SourceSDR"
float_framebuffer32 = "true"
shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear33 = "false"
scale_type33 = "source"
scale33 = "1.0"
wrap_mode33 = "clamp_to_border"
mipmap_input33 = "false"
alias33 = "SourceHDR"
float_framebuffer33 = "true"
shader34 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
scale_type34 = "viewport"
float_framebuffer34 = "true"
alias34 = "CRTPass"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader36 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear36 = "false"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader38 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersUnderCRTPass"
shader36 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear36 = true
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "BR_LayersUnderCRTPass"
shader39 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersOverCRTPass"
shader37 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader40 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type40 = viewport
alias40 = "CombinePass"
shader38 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type38 = viewport
alias38 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -306,7 +322,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -315,7 +331,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 45
shaders = 43
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,201 +43,217 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = "GlowPass"
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = "GlowPass"
alias38 = "BloomPass"
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = "BloomPass"
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
shader42 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
shader43 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias41 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader44 = ../../shaders/base/output-sdr.slang
scale_type44 = viewport
alias44 = "OutputPass"
shader42 = ../../shaders/base/output-sdr.slang
scale_type42 = viewport
alias42 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -329,7 +345,7 @@ TopLayerImage_mipmap = 1
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -338,7 +354,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -350,3 +366,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 42
shaders = 40
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,180 +43,196 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = "GlowPass"
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "GlowPass"
alias35 = "BloomPass"
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = "BloomPass"
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias38 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader41 = ../../shaders/base/output-sdr.slang
scale_type41 = viewport
alias41 = "OutputPass"
shader39 = ../../shaders/base/output-sdr.slang
scale_type39 = viewport
alias39 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -308,7 +324,7 @@ TopLayerImage_mipmap = 1
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -317,7 +333,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 41
shaders = 39
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,168 +43,184 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
float_framebuffer33 = true
alias33 = "PrePass"
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
float_framebuffer34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader36 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
float_framebuffer34 = "true"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader36 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear36 = "false"
scale_type36 = "source"
scale36 = "1.0"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
alias36 = "SourceSDR"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
shader37 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear37 = "false"
scale_type37 = "source"
scale37 = "1.0"
wrap_mode37 = "clamp_to_border"
mipmap_input37 = "false"
alias37 = "SourceHDR"
float_framebuffer37 = "true"
shader38 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear38 = "false"
wrap_mode38 = "clamp_to_border"
mipmap_input38 = "false"
scale_type38 = "viewport"
float_framebuffer38 = "true"
alias38 = "CRTPass"
shader39 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "PostCRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader40 = ../../shaders/base/output-hdr.slang
scale_type40 = viewport
alias40 = "OutputPass"
shader38 = ../../shaders/base/output-hdr.slang
scale_type38 = viewport
alias38 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -304,7 +320,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -313,7 +329,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -325,3 +341,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 39
shaders = 37
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,156 +43,172 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
float_framebuffer29 = true
alias29 = "PrePass"
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
float_framebuffer30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear32 = "false"
scale_type32 = "source"
scale32 = "1.0"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
alias32 = "SourceSDR"
float_framebuffer32 = "true"
shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear33 = "false"
scale_type33 = "source"
scale33 = "1.0"
wrap_mode33 = "clamp_to_border"
mipmap_input33 = "false"
alias33 = "SourceHDR"
float_framebuffer33 = "true"
shader34 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
scale_type34 = "viewport"
float_framebuffer34 = "true"
alias34 = "CRTPass"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader36 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear36 = "false"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader38 = ../../shaders/base/output-hdr.slang
scale_type38 = viewport
alias38 = "OutputPass"
shader36 = ../../shaders/base/output-hdr.slang
scale_type36 = viewport
alias36 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -292,7 +308,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -301,7 +317,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 53
shaders = 51
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,196 +43,226 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = GlowPass
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = GlowPass
alias38 = BloomPass
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = BloomPass
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
alias41 = "PostCRTPass"
shader42 = ../../shaders/guest/hsm-deconvergence.slang
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader42 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
alias42 = "BR_LayersUnderCRTPass"
shader43 = ../../shaders/base/post-crt-prep-image-layers.slang
shader43 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear43 = true
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias43 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -292,24 +322,10 @@ shader49 = ../../shaders/base/reflection.slang
scale_type49 = viewport
alias49 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader50 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear50 = true
scale_type50 = viewport
float_framebuffer50 = true
alias50 = "BR_LayersUnderCRTPass"
shader51 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear51 = true
scale_type51 = viewport
float_framebuffer51 = true
alias51 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader52 = ../../shaders/base/combine-passes.slang
scale_type52 = viewport
alias52 = "CombinePass"
shader50 = ../../shaders/base/combine-passes.slang
scale_type50 = viewport
alias50 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -401,7 +417,7 @@ TopLayerImage_mipmap = 1
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -410,7 +426,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -422,3 +438,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 50
shaders = 48
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,175 +43,205 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = GlowPass
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = GlowPass
alias35 = BloomPass
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = BloomPass
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
alias38 = "PostCRTPass"
shader39 = ../../shaders/guest/hsm-deconvergence.slang
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader39 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
alias39 = "BR_LayersUnderCRTPass"
shader40 = ../../shaders/base/post-crt-prep-image-layers.slang
shader40 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias40 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -271,24 +301,10 @@ shader46 = ../../shaders/base/reflection.slang
scale_type46 = viewport
alias46 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader47 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear47 = true
scale_type47 = viewport
float_framebuffer47 = true
alias47 = "BR_LayersUnderCRTPass"
shader48 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear48 = true
scale_type48 = viewport
float_framebuffer48 = true
alias48 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader49 = ../../shaders/base/combine-passes.slang
scale_type49 = viewport
alias49 = "CombinePass"
shader47 = ../../shaders/base/combine-passes.slang
scale_type47 = viewport
alias47 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -380,7 +396,7 @@ TopLayerImage_mipmap = 1
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -389,7 +405,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 46
shaders = 44
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,136 +43,166 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/base/delinearize.slang
float_framebuffer34 = "true"
shader32 = ../../shaders/base/delinearize.slang
float_framebuffer32 = "true"
shader35 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear35 = "false"
scale_type35 = "viewport"
scale35 = "1.0"
float_framebuffer35 = "true"
alias35 = "CRTPass"
shader33 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear33 = "false"
scale_type33 = "viewport"
scale33 = "1.0"
float_framebuffer33 = "true"
alias33 = "CRTPass"
shader36 = ../../shaders/base/post-crt-prep-image-layers.slang
shader34 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input34 = true
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader35 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "BR_LayersUnderCRTPass"
shader36 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear36 = true
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "PostCRTPass"
alias36 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -232,24 +262,10 @@ shader42 = ../../shaders/base/reflection.slang
scale_type42 = viewport
alias42 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader43 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear43 = true
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "BR_LayersUnderCRTPass"
shader44 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear44 = true
scale_type44 = viewport
float_framebuffer44 = true
alias44 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader45 = ../../shaders/base/combine-passes.slang
scale_type45 = viewport
alias45 = "CombinePass"
shader43 = ../../shaders/base/combine-passes.slang
scale_type43 = viewport
alias43 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -341,7 +357,7 @@ TopLayerImage_mipmap = 1
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 1
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1

View file

@ -1,4 +1,4 @@
shaders = 49
shaders = 47
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,163 +43,193 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
scale21 = 3
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 3
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
float_framebuffer33 = true
alias33 = "PrePass"
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
float_framebuffer34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader36 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
float_framebuffer34 = "true"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader36 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear36 = "false"
scale_type36 = "source"
scale36 = "1.0"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
alias36 = "SourceSDR"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
shader37 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear37 = "false"
scale_type37 = "source"
scale37 = "1.0"
wrap_mode37 = "clamp_to_border"
mipmap_input37 = "false"
alias37 = "SourceHDR"
float_framebuffer37 = "true"
shader37 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
shader38 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear38 = "false"
wrap_mode38 = "clamp_to_border"
mipmap_input38 = "false"
scale_type38 = "viewport"
float_framebuffer38 = "true"
alias38 = "CRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader39 = ../../shaders/base/post-crt-prep-image-layers.slang
shader38 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersUnderCRTPass"
shader39 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "PostCRTPass"
alias39 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -259,24 +289,10 @@ shader45 = ../../shaders/base/reflection.slang
scale_type45 = viewport
alias45 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader46 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear46 = true
scale_type46 = viewport
float_framebuffer46 = true
alias46 = "BR_LayersUnderCRTPass"
shader47 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear47 = true
scale_type47 = viewport
float_framebuffer47 = true
alias47 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader48 = ../../shaders/base/combine-passes-hdr.slang
scale_type48 = viewport
alias48 = "CombinePass"
shader46 = ../../shaders/base/combine-passes-hdr.slang
scale_type46 = viewport
alias46 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -376,7 +392,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -385,7 +401,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1
@ -397,3 +413,5 @@ masksize = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 47
shaders = 45
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,151 +43,181 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = refpass
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = refpass
shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang
filter_linear17 = false
scale_type17 = source
scale17 = 1.0
float_framebuffer17 = true
alias17 = scalefx_pass0
shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
filter_linear18 = false
scale_type18 = source
scale18 = 1.0
float_framebuffer12 = true
shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
float_framebuffer19 = true
alias19 = scalefx_pass0
shader20 = ../../shaders/scalefx/hsm-scalefx-pass1.slang
shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear20 = false
scale_type20 = source
scale20 = 1.0
float_framebuffer12 = true
shader21 = ../../shaders/scalefx/hsm-scalefx-pass2.slang
shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
shader22 = ../../shaders/scalefx/hsm-scalefx-pass3.slang
filter_linear22 = false
scale_type22 = source
scale22 = 1.0
shader23 = ../../shaders/scalefx/hsm-scalefx-pass4.slang
filter_linear23 = false
scale_type23 = source
scale23 = 3
scale21 = 3
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
float_framebuffer29 = true
alias29 = "PrePass"
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
float_framebuffer31 = true
alias31 = "PrePass"
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
float_framebuffer32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
float_framebuffer30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear32 = "false"
scale_type32 = "source"
scale32 = "1.0"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
alias32 = "SourceSDR"
float_framebuffer32 = "true"
shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear33 = "false"
scale_type33 = "source"
scale33 = "1.0"
wrap_mode33 = "clamp_to_border"
mipmap_input33 = "false"
alias33 = "SourceHDR"
float_framebuffer33 = "true"
shader34 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear34 = "false"
scale_type34 = "source"
scale34 = "1.0"
wrap_mode34 = "clamp_to_border"
mipmap_input34 = "false"
alias34 = "SourceSDR"
scale_type34 = "viewport"
float_framebuffer34 = "true"
alias34 = "CRTPass"
shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear35 = "false"
scale_type35 = "source"
scale35 = "1.0"
wrap_mode35 = "clamp_to_border"
mipmap_input35 = "false"
alias35 = "SourceHDR"
float_framebuffer35 = "true"
shader35 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "PostCRTPass"
shader36 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear36 = "false"
wrap_mode36 = "clamp_to_border"
mipmap_input36 = "false"
scale_type36 = "viewport"
float_framebuffer36 = "true"
alias36 = "CRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader37 = ../../shaders/base/post-crt-prep-image-layers.slang
shader36 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear36 = true
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "BR_LayersUnderCRTPass"
shader37 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias37 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -247,24 +277,10 @@ shader43 = ../../shaders/base/reflection.slang
scale_type43 = viewport
alias43 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader44 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear44 = true
scale_type44 = viewport
float_framebuffer44 = true
alias44 = "BR_LayersUnderCRTPass"
shader45 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear45 = true
scale_type45 = viewport
float_framebuffer45 = true
alias45 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader46 = ../../shaders/base/combine-passes-hdr.slang
scale_type46 = viewport
alias46 = "CombinePass"
shader44 = ../../shaders/base/combine-passes-hdr.slang
scale_type44 = viewport
alias44 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -364,7 +380,7 @@ HSM_CRT_CURVATURE_SCALE = "0.000000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000"
HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = "3.000000"
SGPT_BLEND_OPTION = 1
HSM_SCALEFX_ON = 1
@ -373,7 +389,7 @@ HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30
ntsc_scale = 0.4
ntsc_scale = 0.33
// Lottes mask, a bit like a slot mask effect
shadowMask = 1

View file

@ -1,4 +1,4 @@
shaders = 53
shaders = 51
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,217 +43,247 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = "../../../../reshade/shaders/bloom/BloomPass0.slang"
shader18 = "../../../../reshade/shaders/bloom/BloomPass0.slang"
filter_linear18 = "true"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = "SamplerBloom1"
srgb_framebuffer18 = "false"
scale_type_x18 = "source"
scale_x18 = "4.000000"
scale_type_y18 = "source"
scale_y18 = "4.000000"
float_framebuffer18 = "true"
shader19 = "../../../../reshade/shaders/bloom/BloomPass1.slang"
filter_linear19 = "true"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = "SamplerBloom2"
srgb_framebuffer19 = "false"
float_framebuffer19 = "true"
shader20 = "../../../../reshade/shaders/bloom/BloomPass2.slang"
filter_linear20 = "true"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = "SamplerBloom1"
srgb_framebuffer20 = "false"
scale_type_x20 = "source"
scale_x20 = "4.000000"
scale_type_y20 = "source"
scale_y20 = "4.000000"
alias20 = "SamplerBloom3"
float_framebuffer20 = "true"
shader21 = "../../../../reshade/shaders/bloom/BloomPass1.slang"
shader21 = "../../../../reshade/shaders/bloom/BloomPass3.slang"
filter_linear21 = "true"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = "SamplerBloom2"
srgb_framebuffer21 = "false"
alias21 = "SamplerBloom4"
float_framebuffer21 = "true"
shader22 = "../../../../reshade/shaders/bloom/BloomPass2.slang"
shader22 = "../../../../reshade/shaders/bloom/BloomPass4.slang"
filter_linear22 = "true"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = "SamplerBloom3"
alias22 = "SamplerBloom5"
float_framebuffer22 = "true"
shader23 = "../../../../reshade/shaders/bloom/BloomPass3.slang"
shader23 = "../../../../reshade/shaders/bloom/LensFlarePass0.slang"
filter_linear23 = "true"
wrap_mode23 = "clamp_to_border"
mipmap_input23 = "false"
alias23 = "SamplerBloom4"
alias23 = "LensFlare1"
float_framebuffer23 = "true"
shader24 = "../../../../reshade/shaders/bloom/BloomPass4.slang"
shader24 = "../../../../reshade/shaders/bloom/LensFlarePass1.slang"
filter_linear24 = "true"
wrap_mode24 = "clamp_to_border"
mipmap_input24 = "false"
alias24 = "SamplerBloom5"
alias24 = "LensFlare2"
float_framebuffer24 = "true"
shader25 = "../../../../reshade/shaders/bloom/LensFlarePass0.slang"
shader25 = "../../../../reshade/shaders/bloom/LensFlarePass2.slang"
filter_linear25 = "true"
wrap_mode25 = "clamp_to_border"
mipmap_input25 = "false"
alias25 = "LensFlare1"
alias25 = "LensFlare3"
float_framebuffer25 = "true"
shader26 = "../../../../reshade/shaders/bloom/LensFlarePass1.slang"
shader26 = "../../../../reshade/shaders/bloom/LightingCombine.slang"
filter_linear26 = "true"
wrap_mode26 = "clamp_to_border"
mipmap_input26 = "false"
alias26 = "LensFlare2"
alias26 = ""
scale_type_x26 = "source"
scale_x26 = "0.250000"
scale_type_y26 = "source"
scale_y26 = "0.250000"
float_framebuffer26 = "true"
shader27 = "../../../../reshade/shaders/bloom/LensFlarePass2.slang"
filter_linear27 = "true"
wrap_mode27 = "clamp_to_border"
mipmap_input27 = "false"
alias27 = "LensFlare3"
float_framebuffer27 = "true"
shader27 = ../../shaders/base/stock.slang
alias27 = "PreCRTPass"
shader28 = "../../../../reshade/shaders/bloom/LightingCombine.slang"
filter_linear28 = "true"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = ""
scale_type_x28 = "source"
scale_x28 = "0.250000"
scale_type_y28 = "source"
scale_y28 = "0.250000"
float_framebuffer28 = "true"
shader28 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
alias28 = "AfterglowPass"
shader29 = ../../shaders/base/stock.slang
alias29 = "PreCRTPass"
shader30 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear30 = true
scale_type30 = source
scale30 = 1.0
alias30 = "AfterglowPass"
shader31 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear31 = true
scale_type31 = source
mipmap_input31 = true
scale31 = 1.0
shader29 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear29 = true
scale_type29 = source
mipmap_input29 = true
scale29 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader32 = ../../shaders/dogway/hsm-grade.slang
filter_linear32 = false
scale_type32 = source
scale32 = 1.0
alias32 = "ColorCorrectPass"
shader30 = ../../shaders/dogway/hsm-grade.slang
filter_linear30 = false
scale_type30 = source
scale30 = 1.0
alias30 = "ColorCorrectPass"
shader33 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader32 = ../../shaders/base/stock.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
alias32 = "PrePass"
mipmap_input32 = true
shader33 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
shader34 = ../../shaders/base/stock.slang
filter_linear34 = true
scale_type34 = source
scale_x34 = 1.0
scale_y34 = 1.0
alias34 = "PrePass"
mipmap_input34 = true
shader35 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
mipmap_input35 = true
alias35 = "AvgLumPass"
scale33 = 1.0
mipmap_input33 = true
alias33 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader36 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear36 = true
scale_type36 = source
scale36 = 1.0
float_framebuffer36 = true
alias36 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
float_framebuffer34 = true
alias34 = "LinearizePass"
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
float_framebuffer36 = true
alias36 = GlowPass
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 800.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 600.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 800.0
scale_type_y38 = absolute
scale_y38 = 600.0
scale_type_x38 = source
scale_x38 = 1.0
scale_type_y38 = source
scale_y38 = 1.0
float_framebuffer38 = true
alias38 = GlowPass
alias38 = BloomPass
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 800.0
scale_type_y39 = absolute
scale_y39 = 600.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = source
scale_type40 = viewport
scale_x40 = 1.0
scale_type_y40 = source
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = BloomPass
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
alias41 = "PostCRTPass"
shader42 = ../../shaders/guest/hsm-deconvergence.slang
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader42 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
alias42 = "BR_LayersUnderCRTPass"
shader43 = ../../shaders/base/post-crt-prep-image-layers.slang
shader43 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear43 = true
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias43 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -313,24 +343,10 @@ shader49 = ../../shaders/base/reflection.slang
scale_type49 = viewport
alias49 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader50 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear50 = true
scale_type50 = viewport
float_framebuffer50 = true
alias50 = "BR_LayersUnderCRTPass"
shader51 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear51 = true
scale_type51 = viewport
float_framebuffer51 = true
alias51 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader52 = ../../shaders/base/combine-passes.slang
scale_type52 = viewport
alias52 = "CombinePass"
shader50 = ../../shaders/base/combine-passes.slang
scale_type50 = viewport
alias50 = "CombinePass"
// Define textures to be used by the different passes
textures = "Dirt;Sprite;SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -431,7 +447,7 @@ TopLayerImage_mipmap = 1
// HSM_CURVATURE_MODE = 0
// Reshade-FX
HSM_DEDITHER_MODE = 1
SGPT_BLEND_OPTION = 1
bLensdirtEnable_toggle = "1.000000"
bAnamFlareEnable_toggle = "1.000000"

View file

@ -1,4 +1,4 @@
shaders = 53
shaders = 51
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,182 +124,173 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = GlowPass
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = GlowPass
alias38 = BloomPass
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = BloomPass
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
alias41 = "PostCRTPass"
shader42 = ../../shaders/guest/hsm-deconvergence.slang
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader42 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
alias42 = "BR_LayersUnderCRTPass"
shader43 = ../../shaders/base/post-crt-prep-image-layers.slang
shader43 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear43 = true
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias43 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -320,24 +350,10 @@ shader49 = ../../shaders/base/reflection.slang
scale_type49 = viewport
alias49 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader50 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear50 = true
scale_type50 = viewport
float_framebuffer50 = true
alias50 = "BR_LayersUnderCRTPass"
shader51 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear51 = true
scale_type51 = viewport
float_framebuffer51 = true
alias51 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader52 = ../../shaders/base/combine-passes.slang
scale_type52 = viewport
alias52 = "CombinePass"
shader50 = ../../shaders/base/combine-passes.slang
scale_type50 = viewport
alias50 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -432,9 +448,11 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 50
shaders = 48
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,161 +124,152 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = GlowPass
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = GlowPass
alias35 = BloomPass
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = BloomPass
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
alias38 = "PostCRTPass"
shader39 = ../../shaders/guest/hsm-deconvergence.slang
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader39 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
alias39 = "BR_LayersUnderCRTPass"
shader40 = ../../shaders/base/post-crt-prep-image-layers.slang
shader40 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias40 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -299,24 +329,10 @@ shader46 = ../../shaders/base/reflection.slang
scale_type46 = viewport
alias46 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader47 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear47 = true
scale_type47 = viewport
float_framebuffer47 = true
alias47 = "BR_LayersUnderCRTPass"
shader48 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear48 = true
scale_type48 = viewport
float_framebuffer48 = true
alias48 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader49 = ../../shaders/base/combine-passes.slang
scale_type49 = viewport
alias49 = "CombinePass"
shader47 = ../../shaders/base/combine-passes.slang
scale_type47 = viewport
alias47 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -409,7 +425,7 @@ TopLayerImage_mipmap = 1
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 42
shaders = 40
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,116 +43,146 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang
shader26 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang
filter_linear26 = false
srgb_framebuffer26 = true
shader27 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang
filter_linear27 = false
srgb_framebuffer27 = true
shader28 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang
filter_linear28 = false
srgb_framebuffer28 = true
shader29 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang
filter_linear29 = false
srgb_framebuffer29 = true
shader30 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang
filter_linear30 = false
srgb_framebuffer30 = true
// Easymode's Shader!
shader31 = ../../shaders/easymode/hsm-crt-easymode-halation.slang
filter_linear31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "CRTPass"
shader29 = ../../shaders/easymode/hsm-crt-easymode-halation.slang
filter_linear29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "CRTPass"
g_gamma_out = 2.45
shader32 = ../../shaders/base/post-crt-prep-image-layers.slang
shader30 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader31 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "BR_LayersUnderCRTPass"
shader32 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear32 = true
scale_type32 = viewport
float_framebuffer32 = true
alias32 = "PostCRTPass"
alias32 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -212,24 +242,10 @@ shader38 = ../../shaders/base/reflection.slang
scale_type38 = viewport
alias38 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader39 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersUnderCRTPass"
shader40 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader41 = ../../shaders/base/combine-passes.slang
scale_type41 = viewport
alias41 = "CombinePass"
shader39 = ../../shaders/base/combine-passes.slang
scale_type39 = viewport
alias39 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 42
shaders = 40
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,122 +43,152 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
alias27 = "PrePass"
mipmap_input27 = true
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/base/delinearize.slang
scale_type28 = source
float_framebuffer28 = "true"
shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type29 = viewport
scale_x29 = 1.0
scale_y29 = 1.0
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader30 = ../../shaders/base/delinearize.slang
scale_type30 = source
float_framebuffer30 = "true"
shader31 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type31 = viewport
scale_x31 = 1.0
scale_y31 = 1.0
filter_linear31 = true
float_framebuffer31 = "true"
alias31 = "CRTPass"
float_framebuffer29 = "true"
alias29 = "CRTPass"
g_sat = 0.15
g_gamma_out = 2.45
shader32 = ../../shaders/base/post-crt-prep-image-layers.slang
shader30 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader31 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "BR_LayersUnderCRTPass"
shader32 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear32 = true
scale_type32 = viewport
float_framebuffer32 = true
alias32 = "PostCRTPass"
alias32 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -218,24 +248,10 @@ shader38 = ../../shaders/base/reflection.slang
scale_type38 = viewport
alias38 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader39 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersUnderCRTPass"
shader40 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader41 = ../../shaders/base/combine-passes.slang
scale_type41 = viewport
alias41 = "CombinePass"
shader39 = ../../shaders/base/combine-passes.slang
scale_type39 = viewport
alias39 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -330,3 +346,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 40
shaders = 38
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,110 +43,140 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader26 = ../../shaders/base/delinearize.slang
scale_type26 = source
float_framebuffer26 = "true"
shader27 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type27 = viewport
scale_x27 = 1.0
scale_y27 = 1.0
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/base/delinearize.slang
scale_type28 = source
float_framebuffer28 = "true"
shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type29 = viewport
scale_x29 = 1.0
scale_y29 = 1.0
filter_linear29 = true
float_framebuffer29 = "true"
alias29 = "CRTPass"
float_framebuffer27 = "true"
alias27 = "CRTPass"
g_sat = 0.15
g_gamma_out = 2.45
shader30 = ../../shaders/base/post-crt-prep-image-layers.slang
shader28 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader29 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "BR_LayersUnderCRTPass"
shader30 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
alias30 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -206,24 +236,10 @@ shader36 = ../../shaders/base/reflection.slang
scale_type36 = viewport
alias36 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader37 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "BR_LayersUnderCRTPass"
shader38 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader39 = ../../shaders/base/combine-passes.slang
scale_type39 = viewport
alias39 = "CombinePass"
shader37 = ../../shaders/base/combine-passes.slang
scale_type37 = viewport
alias37 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 47
shaders = 45
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,165 +43,195 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
alias27 = "PrePass"
mipmap_input27 = true
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear28 = true
scale_type_x28 = viewport
scale_x28 = 1.0
scale_type_y28 = source
scale_y28 = 1.0
float_framebuffer28 = true
alias28 = Pass1
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
scale_type_x29 = absolute
scale_x29 = 640.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader30 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = viewport
scale_x30 = 1.0
scale_type_y30 = source
scale_y30 = 1.0
scale_type_x30 = absolute
scale_x30 = 640.0
scale_type_y30 = absolute
scale_y30 = 480.0
float_framebuffer30 = true
alias30 = Pass1
alias30 = GlowPass
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 640.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 480.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 640.0
scale_type_y32 = absolute
scale_y32 = 480.0
float_framebuffer32 = true
alias32 = GlowPass
alias32 = BloomPass
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 640.0
scale_type_y33 = absolute
scale_y33 = 480.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = absolute
scale_y34 = 480.0
scale_type34 = viewport
scale_x34 = 1.0
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = BloomPass
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "PostCRTPass"
shader36 = ../../shaders/guest/hsm-deconvergence.slang
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader36 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
alias36 = "BR_LayersUnderCRTPass"
shader37 = ../../shaders/base/post-crt-prep-image-layers.slang
shader37 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias37 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -261,24 +291,10 @@ shader43 = ../../shaders/base/reflection.slang
scale_type43 = viewport
alias43 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader44 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear44 = true
scale_type44 = viewport
float_framebuffer44 = true
alias44 = "BR_LayersUnderCRTPass"
shader45 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear45 = true
scale_type45 = viewport
float_framebuffer45 = true
alias45 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader46 = ../../shaders/base/combine-passes.slang
scale_type46 = viewport
alias46 = "CombinePass"
shader44 = ../../shaders/base/combine-passes.slang
scale_type44 = viewport
alias44 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -373,3 +389,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 44
shaders = 42
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,144 +43,174 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear26 = true
scale_type_x26 = absolute
scale_x26 = 800.0
scale_type_y26 = source
scale_y26 = 1.0
float_framebuffer26 = true
shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear27 = true
scale_type_x27 = absolute
scale_x27 = 800.0
scale_type_y27 = absolute
scale_y27 = 600.0
float_framebuffer27 = true
alias27 = GlowPass
shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear28 = true
scale_type_x28 = absolute
scale_x28 = 800.0
scale_type_y28 = source
scale_y28 = 1.0
scale_type_y28 = absolute
scale_y28 = 600.0
float_framebuffer28 = true
shader29 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader29 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = absolute
scale_y29 = 600.0
scale_type_x29 = source
scale_x29 = 1.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = GlowPass
alias29 = BloomPass
shader30 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader30 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
scale_type30 = viewport
scale_x30 = 1.0
scale_y30 = 1.0
float_framebuffer30 = true
shader31 = ../../shaders/guest/hsm-bloom_vertical.slang
shader31 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear31 = true
scale_type_x31 = source
scale_type31 = viewport
scale_x31 = 1.0
scale_type_y31 = source
scale_y31 = 1.0
float_framebuffer31 = true
alias31 = BloomPass
alias31 = "CRTPass"
shader32 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear32 = true
shader32 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input32 = true
scale_type32 = viewport
scale_x32 = 1.0
scale_y32 = 1.0
float_framebuffer32 = true
alias32 = "PostCRTPass"
shader33 = ../../shaders/guest/hsm-deconvergence.slang
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader33 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear33 = true
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = "CRTPass"
alias33 = "BR_LayersUnderCRTPass"
shader34 = ../../shaders/base/post-crt-prep-image-layers.slang
shader34 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear34 = true
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "PostCRTPass"
alias34 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -240,24 +270,10 @@ shader40 = ../../shaders/base/reflection.slang
scale_type40 = viewport
alias40 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader41 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear41 = true
scale_type41 = viewport
float_framebuffer41 = true
alias41 = "BR_LayersUnderCRTPass"
shader42 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear42 = true
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader43 = ../../shaders/base/combine-passes.slang
scale_type43 = viewport
alias43 = "CombinePass"
shader41 = ../../shaders/base/combine-passes.slang
scale_type41 = viewport
alias41 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 40
shaders = 38
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,105 +43,135 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/base/delinearize.slang
float_framebuffer28 = "true"
shader26 = ../../shaders/base/delinearize.slang
float_framebuffer26 = "true"
shader29 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear29 = "false"
scale_type29 = "viewport"
scale29 = "1.0"
float_framebuffer29 = "true"
alias29 = "CRTPass"
shader27 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear27 = "false"
scale_type27 = "viewport"
scale27 = "1.0"
float_framebuffer27 = "true"
alias27 = "CRTPass"
shader30 = ../../shaders/base/post-crt-prep-image-layers.slang
shader28 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader29 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "BR_LayersUnderCRTPass"
shader30 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
alias30 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -201,24 +231,10 @@ shader36 = ../../shaders/base/reflection.slang
scale_type36 = viewport
alias36 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader37 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "BR_LayersUnderCRTPass"
shader38 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader39 = ../../shaders/base/combine-passes.slang
scale_type39 = viewport
alias39 = "CombinePass"
shader37 = ../../shaders/base/combine-passes.slang
scale_type37 = viewport
alias37 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 43
shaders = 41
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,132 +43,162 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
float_framebuffer27 = true
alias27 = "PrePass"
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
float_framebuffer28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader30 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
float_framebuffer28 = "true"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader30 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear30 = "false"
scale_type30 = "source"
scale30 = "1.0"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
alias30 = "SourceSDR"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
shader31 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear31 = "false"
scale_type31 = "source"
scale31 = "1.0"
wrap_mode31 = "clamp_to_border"
mipmap_input31 = "false"
alias31 = "SourceHDR"
float_framebuffer31 = "true"
shader31 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
shader32 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear32 = "false"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
scale_type32 = "viewport"
float_framebuffer32 = "true"
alias32 = "CRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader33 = ../../shaders/base/post-crt-prep-image-layers.slang
shader32 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear32 = true
scale_type32 = viewport
float_framebuffer32 = true
alias32 = "BR_LayersUnderCRTPass"
shader33 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear33 = true
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "PostCRTPass"
alias33 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -228,24 +258,10 @@ shader39 = ../../shaders/base/reflection.slang
scale_type39 = viewport
alias39 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader40 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "BR_LayersUnderCRTPass"
shader41 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear41 = true
scale_type41 = viewport
float_framebuffer41 = true
alias41 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader42 = ../../shaders/base/combine-passes-hdr.slang
scale_type42 = viewport
alias42 = "CombinePass"
shader40 = ../../shaders/base/combine-passes-hdr.slang
scale_type40 = viewport
alias40 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -348,3 +364,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 41
shaders = 39
shader0 = ../../shaders/base/add-params-all.slang
alias0 = "CorePass"
@ -43,120 +43,150 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
float_framebuffer23 = true
alias23 = "PrePass"
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
float_framebuffer24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear26 = "false"
scale_type26 = "source"
scale26 = "1.0"
wrap_mode26 = "clamp_to_border"
mipmap_input26 = "false"
alias26 = "SourceSDR"
float_framebuffer26 = "true"
shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear27 = "false"
scale_type27 = "source"
scale27 = "1.0"
wrap_mode27 = "clamp_to_border"
mipmap_input27 = "false"
alias27 = "SourceHDR"
float_framebuffer27 = "true"
shader28 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
scale_type28 = "viewport"
float_framebuffer28 = "true"
alias28 = "CRTPass"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader29 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "PostCRTPass"
shader30 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear30 = "false"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader31 = ../../shaders/base/post-crt-prep-image-layers.slang
shader30 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "BR_LayersUnderCRTPass"
shader31 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
alias31 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
@ -216,24 +246,10 @@ shader37 = ../../shaders/base/reflection.slang
scale_type37 = viewport
alias37 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader38 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersUnderCRTPass"
shader39 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader40 = ../../shaders/base/combine-passes-hdr.slang
scale_type40 = viewport
alias40 = "CombinePass"
shader38 = ../../shaders/base/combine-passes-hdr.slang
scale_type38 = viewport
alias38 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 50
shaders = 48
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,276 +43,292 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = "../../../../reshade/shaders/bloom/BloomPass0.slang"
shader18 = "../../../../reshade/shaders/bloom/BloomPass0.slang"
filter_linear18 = "true"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = "SamplerBloom1"
srgb_framebuffer18 = "false"
scale_type_x18 = "source"
scale_x18 = "4.000000"
scale_type_y18 = "source"
scale_y18 = "4.000000"
float_framebuffer18 = "true"
shader19 = "../../../../reshade/shaders/bloom/BloomPass1.slang"
filter_linear19 = "true"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = "SamplerBloom2"
srgb_framebuffer19 = "false"
float_framebuffer19 = "true"
shader20 = "../../../../reshade/shaders/bloom/BloomPass2.slang"
filter_linear20 = "true"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = "SamplerBloom1"
srgb_framebuffer20 = "false"
scale_type_x20 = "source"
scale_x20 = "4.000000"
scale_type_y20 = "source"
scale_y20 = "4.000000"
alias20 = "SamplerBloom3"
float_framebuffer20 = "true"
shader21 = "../../../../reshade/shaders/bloom/BloomPass1.slang"
shader21 = "../../../../reshade/shaders/bloom/BloomPass3.slang"
filter_linear21 = "true"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = "SamplerBloom2"
srgb_framebuffer21 = "false"
alias21 = "SamplerBloom4"
float_framebuffer21 = "true"
shader22 = "../../../../reshade/shaders/bloom/BloomPass2.slang"
shader22 = "../../../../reshade/shaders/bloom/BloomPass4.slang"
filter_linear22 = "true"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = "SamplerBloom3"
alias22 = "SamplerBloom5"
float_framebuffer22 = "true"
shader23 = "../../../../reshade/shaders/bloom/BloomPass3.slang"
shader23 = "../../../../reshade/shaders/bloom/LensFlarePass0.slang"
filter_linear23 = "true"
wrap_mode23 = "clamp_to_border"
mipmap_input23 = "false"
alias23 = "SamplerBloom4"
alias23 = "LensFlare1"
float_framebuffer23 = "true"
shader24 = "../../../../reshade/shaders/bloom/BloomPass4.slang"
shader24 = "../../../../reshade/shaders/bloom/LensFlarePass1.slang"
filter_linear24 = "true"
wrap_mode24 = "clamp_to_border"
mipmap_input24 = "false"
alias24 = "SamplerBloom5"
alias24 = "LensFlare2"
float_framebuffer24 = "true"
shader25 = "../../../../reshade/shaders/bloom/LensFlarePass0.slang"
shader25 = "../../../../reshade/shaders/bloom/LensFlarePass2.slang"
filter_linear25 = "true"
wrap_mode25 = "clamp_to_border"
mipmap_input25 = "false"
alias25 = "LensFlare1"
alias25 = "LensFlare3"
float_framebuffer25 = "true"
shader26 = "../../../../reshade/shaders/bloom/LensFlarePass1.slang"
shader26 = "../../../../reshade/shaders/bloom/LightingCombine.slang"
filter_linear26 = "true"
wrap_mode26 = "clamp_to_border"
mipmap_input26 = "false"
alias26 = "LensFlare2"
alias26 = ""
scale_type_x26 = "source"
scale_x26 = "0.250000"
scale_type_y26 = "source"
scale_y26 = "0.250000"
float_framebuffer26 = "true"
shader27 = "../../../../reshade/shaders/bloom/LensFlarePass2.slang"
filter_linear27 = "true"
wrap_mode27 = "clamp_to_border"
mipmap_input27 = "false"
alias27 = "LensFlare3"
float_framebuffer27 = "true"
shader27 = ../../shaders/base/stock.slang
alias27 = "PreCRTPass"
shader28 = "../../../../reshade/shaders/bloom/LightingCombine.slang"
filter_linear28 = "true"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = ""
scale_type_x28 = "source"
scale_x28 = "0.250000"
scale_type_y28 = "source"
scale_y28 = "0.250000"
float_framebuffer28 = "true"
shader28 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
alias28 = "AfterglowPass"
shader29 = ../../shaders/base/stock.slang
alias29 = "PreCRTPass"
shader30 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear30 = true
scale_type30 = source
scale30 = 1.0
alias30 = "AfterglowPass"
shader31 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear31 = true
scale_type31 = source
mipmap_input31 = true
scale31 = 1.0
shader29 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear29 = true
scale_type29 = source
mipmap_input29 = true
scale29 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader32 = ../../shaders/dogway/hsm-grade.slang
filter_linear32 = false
scale_type32 = source
scale32 = 1.0
alias32 = "ColorCorrectPass"
shader30 = ../../shaders/dogway/hsm-grade.slang
filter_linear30 = false
scale_type30 = source
scale30 = 1.0
alias30 = "ColorCorrectPass"
shader33 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader32 = ../../shaders/base/stock.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
alias32 = "PrePass"
mipmap_input32 = true
shader33 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
shader34 = ../../shaders/base/stock.slang
filter_linear34 = true
scale_type34 = source
scale_x34 = 1.0
scale_y34 = 1.0
alias34 = "PrePass"
mipmap_input34 = true
shader35 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
mipmap_input35 = true
alias35 = "AvgLumPass"
scale33 = 1.0
mipmap_input33 = true
alias33 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader36 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear36 = true
scale_type36 = source
scale36 = 1.0
float_framebuffer36 = true
alias36 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
float_framebuffer34 = true
alias34 = "LinearizePass"
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
float_framebuffer36 = true
alias36 = GlowPass
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 800.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 600.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 800.0
scale_type_y38 = absolute
scale_y38 = 600.0
scale_type_x38 = source
scale_x38 = 1.0
scale_type_y38 = source
scale_y38 = 1.0
float_framebuffer38 = true
alias38 = GlowPass
alias38 = BloomPass
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 800.0
scale_type_y39 = absolute
scale_y39 = 600.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = source
scale_type40 = viewport
scale_x40 = 1.0
scale_type_y40 = source
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = BloomPass
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
shader42 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
shader43 = ../../shaders/base/post-crt-prep-glass.slang
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias41 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader44 = ../../shaders/base/linearize-crt.slang
mipmap_input44 = true
filter_linear44 = true
scale_type44 = absolute
// scale_x44 = 480
// scale_y44 = 270
// scale_x44 = 960
// scale_y44 = 540
scale_x44 = 800
scale_y44 = 600
float_framebuffer44 = true
alias44 = "BR_MirrorLowResPass"
shader42 = ../../shaders/base/linearize-crt.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
// scale_x42 = 480
// scale_y42 = 270
// scale_x42 = 960
// scale_y42 = 540
scale_x42 = 800
scale_y42 = 600
float_framebuffer42 = true
alias42 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader45 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input45 = true
filter_linear45 = true
float_framebuffer45 = true
shader43 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input43 = true
filter_linear43 = true
float_framebuffer43 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader46 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear46 = true
float_framebuffer46 = true
alias46 = "BR_MirrorBlurredPass"
shader44 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear44 = true
float_framebuffer44 = true
alias44 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader47 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input47 = true
filter_linear47 = true
scale_type47 = absolute
scale_x47 = 128
scale_y47 = 128
float_framebuffer47 = true
alias47 = "BR_MirrorReflectionDiffusedPass"
shader45 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input45 = true
filter_linear45 = true
scale_type45 = absolute
scale_x45 = 128
scale_y45 = 128
float_framebuffer45 = true
alias45 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader48 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input48 = true
filter_linear48 = true
scale_type48 = absolute
scale_x48 = 12
scale_y48 = 12
float_framebuffer48 = true
alias48 = "BR_MirrorFullscreenGlowPass"
shader46 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input46 = true
filter_linear46 = true
scale_type46 = absolute
scale_x46 = 12
scale_y46 = 12
float_framebuffer46 = true
alias46 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader49 = ../../shaders/base/reflection-glass.slang
scale_type49 = viewport
srgb_framebuffer49 = true
alias49 = "ReflectionPass"
shader47 = ../../shaders/base/reflection-glass.slang
scale_type47 = viewport
srgb_framebuffer47 = true
alias47 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "Dirt;Sprite;SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -449,7 +465,7 @@ HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000"
g_vignette = "0.0"
// Reshade-FX
HSM_DEDITHER_MODE = 1
SGPT_BLEND_OPTION = 1
bLensdirtEnable_toggle = "1.000000"
bAnamFlareEnable_toggle = "1.000000"

View file

@ -1,4 +1,4 @@
shaders = 50
shaders = 48
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,241 +124,218 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = GlowPass
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = GlowPass
alias38 = BloomPass
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = BloomPass
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
shader42 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
shader43 = ../../shaders/base/post-crt-prep-glass.slang
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias41 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader44 = ../../shaders/base/linearize-crt.slang
mipmap_input44 = true
filter_linear44 = true
scale_type44 = absolute
// scale_x44 = 480
// scale_y44 = 270
// scale_x44 = 960
// scale_y44 = 540
scale_x44 = 800
scale_y44 = 600
float_framebuffer44 = true
alias44 = "BR_MirrorLowResPass"
shader42 = ../../shaders/base/linearize-crt.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
// scale_x42 = 480
// scale_y42 = 270
// scale_x42 = 960
// scale_y42 = 540
scale_x42 = 800
scale_y42 = 600
float_framebuffer42 = true
alias42 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader45 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input45 = true
filter_linear45 = true
float_framebuffer45 = true
shader43 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input43 = true
filter_linear43 = true
float_framebuffer43 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader46 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear46 = true
float_framebuffer46 = true
alias46 = "BR_MirrorBlurredPass"
shader44 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear44 = true
float_framebuffer44 = true
alias44 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader47 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input47 = true
filter_linear47 = true
scale_type47 = absolute
scale_x47 = 128
scale_y47 = 128
float_framebuffer47 = true
alias47 = "BR_MirrorReflectionDiffusedPass"
shader45 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input45 = true
filter_linear45 = true
scale_type45 = absolute
scale_x45 = 128
scale_y45 = 128
float_framebuffer45 = true
alias45 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader48 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input48 = true
filter_linear48 = true
scale_type48 = absolute
scale_x48 = 12
scale_y48 = 12
float_framebuffer48 = true
alias48 = "BR_MirrorFullscreenGlowPass"
shader46 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input46 = true
filter_linear46 = true
scale_type46 = absolute
scale_x46 = 12
scale_y46 = 12
float_framebuffer46 = true
alias46 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader49 = ../../shaders/base/reflection-glass.slang
scale_type49 = viewport
srgb_framebuffer49 = true
alias49 = "ReflectionPass"
shader47 = ../../shaders/base/reflection-glass.slang
scale_type47 = viewport
srgb_framebuffer47 = true
alias47 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -450,9 +466,11 @@ g_vignette = "0.0"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 47
shaders = 45
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,220 +124,197 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = GlowPass
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = GlowPass
alias35 = BloomPass
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = BloomPass
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
shader40 = ../../shaders/base/post-crt-prep-glass.slang
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias38 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader41 = ../../shaders/base/linearize-crt.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
// scale_x41 = 480
// scale_y41 = 270
// scale_x41 = 960
// scale_y41 = 540
scale_x41 = 800
scale_y41 = 600
float_framebuffer41 = true
alias41 = "BR_MirrorLowResPass"
shader39 = ../../shaders/base/linearize-crt.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
// scale_x39 = 480
// scale_y39 = 270
// scale_x39 = 960
// scale_y39 = 540
scale_x39 = 800
scale_y39 = 600
float_framebuffer39 = true
alias39 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader42 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input42 = true
filter_linear42 = true
float_framebuffer42 = true
shader40 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input40 = true
filter_linear40 = true
float_framebuffer40 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader43 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear43 = true
float_framebuffer43 = true
alias43 = "BR_MirrorBlurredPass"
shader41 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear41 = true
float_framebuffer41 = true
alias41 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader44 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input44 = true
filter_linear44 = true
scale_type44 = absolute
scale_x44 = 128
scale_y44 = 128
float_framebuffer44 = true
alias44 = "BR_MirrorReflectionDiffusedPass"
shader42 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
scale_x42 = 128
scale_y42 = 128
float_framebuffer42 = true
alias42 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader45 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input45 = true
filter_linear45 = true
scale_type45 = absolute
scale_x45 = 12
scale_y45 = 12
float_framebuffer45 = true
alias45 = "BR_MirrorFullscreenGlowPass"
shader43 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input43 = true
filter_linear43 = true
scale_type43 = absolute
scale_x43 = 12
scale_y43 = 12
float_framebuffer43 = true
alias43 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader46 = ../../shaders/base/reflection-glass.slang
scale_type46 = viewport
srgb_framebuffer46 = true
alias46 = "ReflectionPass"
shader44 = ../../shaders/base/reflection-glass.slang
scale_type44 = viewport
srgb_framebuffer44 = true
alias44 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -427,7 +443,7 @@ HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000"
g_vignette = "0.0"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 39
shaders = 37
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,175 +43,191 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang
shader26 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang
filter_linear26 = false
srgb_framebuffer26 = true
shader27 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang
filter_linear27 = false
srgb_framebuffer27 = true
shader28 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang
filter_linear28 = false
srgb_framebuffer28 = true
shader29 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang
filter_linear29 = false
srgb_framebuffer29 = true
shader30 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang
filter_linear30 = false
srgb_framebuffer30 = true
// Easymode's Shader!
shader31 = ../../shaders/easymode/hsm-crt-easymode-halation.slang
filter_linear31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "CRTPass"
shader29 = ../../shaders/easymode/hsm-crt-easymode-halation.slang
filter_linear29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "CRTPass"
g_gamma_out = 2.45
shader32 = ../../shaders/base/post-crt-prep-glass.slang
scale_type32 = viewport
float_framebuffer32 = true
alias32 = "PostCRTPass"
shader30 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader33 = ../../shaders/base/linearize-crt.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
// scale_x33 = 480
// scale_y33 = 270
// scale_x33 = 960
// scale_y33 = 540
scale_x33 = 800
scale_y33 = 600
float_framebuffer33 = true
alias33 = "BR_MirrorLowResPass"
shader31 = ../../shaders/base/linearize-crt.slang
mipmap_input31 = true
filter_linear31 = true
scale_type31 = absolute
// scale_x31 = 480
// scale_y31 = 270
// scale_x31 = 960
// scale_y31 = 540
scale_x31 = 800
scale_y31 = 600
float_framebuffer31 = true
alias31 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader34 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input34 = true
filter_linear34 = true
float_framebuffer34 = true
shader32 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input32 = true
filter_linear32 = true
float_framebuffer32 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader35 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear35 = true
float_framebuffer35 = true
alias35 = "BR_MirrorBlurredPass"
shader33 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear33 = true
float_framebuffer33 = true
alias33 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader36 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
scale_x36 = 128
scale_y36 = 128
float_framebuffer36 = true
alias36 = "BR_MirrorReflectionDiffusedPass"
shader34 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input34 = true
filter_linear34 = true
scale_type34 = absolute
scale_x34 = 128
scale_y34 = 128
float_framebuffer34 = true
alias34 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader37 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input37 = true
filter_linear37 = true
scale_type37 = absolute
scale_x37 = 12
scale_y37 = 12
float_framebuffer37 = true
alias37 = "BR_MirrorFullscreenGlowPass"
shader35 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
scale_x35 = 12
scale_y35 = 12
float_framebuffer35 = true
alias35 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader38 = ../../shaders/base/reflection-glass.slang
scale_type38 = viewport
srgb_framebuffer38 = true
alias38 = "ReflectionPass"
shader36 = ../../shaders/base/reflection-glass.slang
scale_type36 = viewport
srgb_framebuffer36 = true
alias36 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 39
shaders = 37
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,181 +43,197 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
alias27 = "PrePass"
mipmap_input27 = true
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/base/delinearize.slang
scale_type28 = source
float_framebuffer28 = "true"
shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type29 = viewport
scale_x29 = 1.0
scale_y29 = 1.0
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader30 = ../../shaders/base/delinearize.slang
scale_type30 = source
float_framebuffer30 = "true"
shader31 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type31 = viewport
scale_x31 = 1.0
scale_y31 = 1.0
filter_linear31 = true
float_framebuffer31 = "true"
alias31 = "CRTPass"
float_framebuffer29 = "true"
alias29 = "CRTPass"
g_sat = 0.15
g_gamma_out = 2.45
shader32 = ../../shaders/base/post-crt-prep-glass.slang
scale_type32 = viewport
float_framebuffer32 = true
alias32 = "PostCRTPass"
shader30 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader33 = ../../shaders/base/linearize-crt.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
// scale_x33 = 480
// scale_y33 = 270
// scale_x33 = 960
// scale_y33 = 540
scale_x33 = 800
scale_y33 = 600
float_framebuffer33 = true
alias33 = "BR_MirrorLowResPass"
shader31 = ../../shaders/base/linearize-crt.slang
mipmap_input31 = true
filter_linear31 = true
scale_type31 = absolute
// scale_x31 = 480
// scale_y31 = 270
// scale_x31 = 960
// scale_y31 = 540
scale_x31 = 800
scale_y31 = 600
float_framebuffer31 = true
alias31 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader34 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input34 = true
filter_linear34 = true
float_framebuffer34 = true
shader32 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input32 = true
filter_linear32 = true
float_framebuffer32 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader35 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear35 = true
float_framebuffer35 = true
alias35 = "BR_MirrorBlurredPass"
shader33 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear33 = true
float_framebuffer33 = true
alias33 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader36 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
scale_x36 = 128
scale_y36 = 128
float_framebuffer36 = true
alias36 = "BR_MirrorReflectionDiffusedPass"
shader34 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input34 = true
filter_linear34 = true
scale_type34 = absolute
scale_x34 = 128
scale_y34 = 128
float_framebuffer34 = true
alias34 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader37 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input37 = true
filter_linear37 = true
scale_type37 = absolute
scale_x37 = 12
scale_y37 = 12
float_framebuffer37 = true
alias37 = "BR_MirrorFullscreenGlowPass"
shader35 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
scale_x35 = 12
scale_y35 = 12
float_framebuffer35 = true
alias35 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader38 = ../../shaders/base/reflection-glass.slang
scale_type38 = viewport
srgb_framebuffer38 = true
alias38 = "ReflectionPass"
shader36 = ../../shaders/base/reflection-glass.slang
scale_type36 = viewport
srgb_framebuffer36 = true
alias36 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -348,3 +364,6 @@ g_vignette = "0.0"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 37
shaders = 35
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,169 +43,185 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader26 = ../../shaders/base/delinearize.slang
scale_type26 = source
float_framebuffer26 = "true"
shader27 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type27 = viewport
scale_x27 = 1.0
scale_y27 = 1.0
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/base/delinearize.slang
scale_type28 = source
float_framebuffer28 = "true"
shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang
scale_type29 = viewport
scale_x29 = 1.0
scale_y29 = 1.0
filter_linear29 = true
float_framebuffer29 = "true"
alias29 = "CRTPass"
float_framebuffer27 = "true"
alias27 = "CRTPass"
g_sat = 0.15
g_gamma_out = 2.45
shader30 = ../../shaders/base/post-crt-prep-glass.slang
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
shader28 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader31 = ../../shaders/base/linearize-crt.slang
mipmap_input31 = true
filter_linear31 = true
scale_type31 = absolute
// scale_x31 = 480
// scale_y31 = 270
// scale_x31 = 960
// scale_y31 = 540
scale_x31 = 800
scale_y31 = 600
float_framebuffer31 = true
alias31 = "BR_MirrorLowResPass"
shader29 = ../../shaders/base/linearize-crt.slang
mipmap_input29 = true
filter_linear29 = true
scale_type29 = absolute
// scale_x29 = 480
// scale_y29 = 270
// scale_x29 = 960
// scale_y29 = 540
scale_x29 = 800
scale_y29 = 600
float_framebuffer29 = true
alias29 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader32 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input32 = true
filter_linear32 = true
float_framebuffer32 = true
shader30 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input30 = true
filter_linear30 = true
float_framebuffer30 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader33 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear33 = true
float_framebuffer33 = true
alias33 = "BR_MirrorBlurredPass"
shader31 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear31 = true
float_framebuffer31 = true
alias31 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader34 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input34 = true
filter_linear34 = true
scale_type34 = absolute
scale_x34 = 128
scale_y34 = 128
float_framebuffer34 = true
alias34 = "BR_MirrorReflectionDiffusedPass"
shader32 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input32 = true
filter_linear32 = true
scale_type32 = absolute
scale_x32 = 128
scale_y32 = 128
float_framebuffer32 = true
alias32 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader35 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
scale_x35 = 12
scale_y35 = 12
float_framebuffer35 = true
alias35 = "BR_MirrorFullscreenGlowPass"
shader33 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
scale_x33 = 12
scale_y33 = 12
float_framebuffer33 = true
alias33 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader36 = ../../shaders/base/reflection-glass.slang
scale_type36 = viewport
srgb_framebuffer36 = true
alias36 = "ReflectionPass"
shader34 = ../../shaders/base/reflection-glass.slang
scale_type34 = viewport
srgb_framebuffer34 = true
alias34 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 44
shaders = 42
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,224 +43,240 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
alias27 = "PrePass"
mipmap_input27 = true
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear28 = true
scale_type_x28 = viewport
scale_x28 = 1.0
scale_type_y28 = source
scale_y28 = 1.0
float_framebuffer28 = true
alias28 = Pass1
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
scale_type_x29 = absolute
scale_x29 = 640.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader30 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = viewport
scale_x30 = 1.0
scale_type_y30 = source
scale_y30 = 1.0
scale_type_x30 = absolute
scale_x30 = 640.0
scale_type_y30 = absolute
scale_y30 = 480.0
float_framebuffer30 = true
alias30 = Pass1
alias30 = GlowPass
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 640.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 480.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 640.0
scale_type_y32 = absolute
scale_y32 = 480.0
float_framebuffer32 = true
alias32 = GlowPass
alias32 = BloomPass
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 640.0
scale_type_y33 = absolute
scale_y33 = 480.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = absolute
scale_y34 = 480.0
scale_type34 = viewport
scale_x34 = 1.0
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = BloomPass
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-glass.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias35 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader38 = ../../shaders/base/linearize-crt.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
// scale_x38 = 480
// scale_y38 = 270
// scale_x38 = 960
// scale_y38 = 540
scale_x38 = 800
scale_y38 = 600
float_framebuffer38 = true
alias38 = "BR_MirrorLowResPass"
shader36 = ../../shaders/base/linearize-crt.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
// scale_x36 = 480
// scale_y36 = 270
// scale_x36 = 960
// scale_y36 = 540
scale_x36 = 800
scale_y36 = 600
float_framebuffer36 = true
alias36 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader39 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input39 = true
filter_linear39 = true
float_framebuffer39 = true
shader37 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input37 = true
filter_linear37 = true
float_framebuffer37 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader40 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear40 = true
float_framebuffer40 = true
alias40 = "BR_MirrorBlurredPass"
shader38 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear38 = true
float_framebuffer38 = true
alias38 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader41 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
scale_x41 = 128
scale_y41 = 128
float_framebuffer41 = true
alias41 = "BR_MirrorReflectionDiffusedPass"
shader39 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
scale_x39 = 128
scale_y39 = 128
float_framebuffer39 = true
alias39 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader42 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
scale_x42 = 12
scale_y42 = 12
float_framebuffer42 = true
alias42 = "BR_MirrorFullscreenGlowPass"
shader40 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input40 = true
filter_linear40 = true
scale_type40 = absolute
scale_x40 = 12
scale_y40 = 12
float_framebuffer40 = true
alias40 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader43 = ../../shaders/base/reflection-glass.slang
scale_type43 = viewport
srgb_framebuffer43 = true
alias43 = "ReflectionPass"
shader41 = ../../shaders/base/reflection-glass.slang
scale_type41 = viewport
srgb_framebuffer41 = true
alias41 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -391,3 +407,6 @@ g_vignette = "0.0"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 41
shaders = 39
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,203 +43,219 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear26 = true
scale_type_x26 = absolute
scale_x26 = 800.0
scale_type_y26 = source
scale_y26 = 1.0
float_framebuffer26 = true
shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear27 = true
scale_type_x27 = absolute
scale_x27 = 800.0
scale_type_y27 = absolute
scale_y27 = 600.0
float_framebuffer27 = true
alias27 = GlowPass
shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear28 = true
scale_type_x28 = absolute
scale_x28 = 800.0
scale_type_y28 = source
scale_y28 = 1.0
scale_type_y28 = absolute
scale_y28 = 600.0
float_framebuffer28 = true
shader29 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader29 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = absolute
scale_y29 = 600.0
scale_type_x29 = source
scale_x29 = 1.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = GlowPass
alias29 = BloomPass
shader30 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader30 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
scale_type30 = viewport
scale_x30 = 1.0
scale_y30 = 1.0
float_framebuffer30 = true
shader31 = ../../shaders/guest/hsm-bloom_vertical.slang
shader31 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear31 = true
scale_type_x31 = source
scale_type31 = viewport
scale_x31 = 1.0
scale_type_y31 = source
scale_y31 = 1.0
float_framebuffer31 = true
alias31 = BloomPass
alias31 = "CRTPass"
shader32 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear32 = true
shader32 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input32 = true
scale_type32 = viewport
scale_x32 = 1.0
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear33 = true
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = "CRTPass"
shader34 = ../../shaders/base/post-crt-prep-glass.slang
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "PostCRTPass"
alias32 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader35 = ../../shaders/base/linearize-crt.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
// scale_x35 = 480
// scale_y35 = 270
// scale_x35 = 960
// scale_y35 = 540
scale_x35 = 800
scale_y35 = 600
float_framebuffer35 = true
alias35 = "BR_MirrorLowResPass"
shader33 = ../../shaders/base/linearize-crt.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
// scale_x33 = 480
// scale_y33 = 270
// scale_x33 = 960
// scale_y33 = 540
scale_x33 = 800
scale_y33 = 600
float_framebuffer33 = true
alias33 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader36 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input36 = true
filter_linear36 = true
float_framebuffer36 = true
shader34 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input34 = true
filter_linear34 = true
float_framebuffer34 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader37 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear37 = true
float_framebuffer37 = true
alias37 = "BR_MirrorBlurredPass"
shader35 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear35 = true
float_framebuffer35 = true
alias35 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader38 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
scale_x38 = 128
scale_y38 = 128
float_framebuffer38 = true
alias38 = "BR_MirrorReflectionDiffusedPass"
shader36 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
scale_x36 = 128
scale_y36 = 128
float_framebuffer36 = true
alias36 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader39 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
scale_x39 = 12
scale_y39 = 12
float_framebuffer39 = true
alias39 = "BR_MirrorFullscreenGlowPass"
shader37 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input37 = true
filter_linear37 = true
scale_type37 = absolute
scale_x37 = 12
scale_y37 = 12
float_framebuffer37 = true
alias37 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader40 = ../../shaders/base/reflection-glass.slang
scale_type40 = viewport
srgb_framebuffer40 = true
alias40 = "ReflectionPass"
shader38 = ../../shaders/base/reflection-glass.slang
scale_type38 = viewport
srgb_framebuffer38 = true
alias38 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 37
shaders = 35
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,164 +43,180 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/base/delinearize.slang
float_framebuffer28 = "true"
shader26 = ../../shaders/base/delinearize.slang
float_framebuffer26 = "true"
shader29 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear29 = "false"
scale_type29 = "viewport"
scale29 = "1.0"
float_framebuffer29 = "true"
alias29 = "CRTPass"
shader27 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang
filter_linear27 = "false"
scale_type27 = "viewport"
scale27 = "1.0"
float_framebuffer27 = "true"
alias27 = "CRTPass"
shader30 = ../../shaders/base/post-crt-prep-glass.slang
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
shader28 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader31 = ../../shaders/base/linearize-crt.slang
mipmap_input31 = true
filter_linear31 = true
scale_type31 = absolute
// scale_x31 = 480
// scale_y31 = 270
// scale_x31 = 960
// scale_y31 = 540
scale_x31 = 800
scale_y31 = 600
float_framebuffer31 = true
alias31 = "BR_MirrorLowResPass"
shader29 = ../../shaders/base/linearize-crt.slang
mipmap_input29 = true
filter_linear29 = true
scale_type29 = absolute
// scale_x29 = 480
// scale_y29 = 270
// scale_x29 = 960
// scale_y29 = 540
scale_x29 = 800
scale_y29 = 600
float_framebuffer29 = true
alias29 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader32 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input32 = true
filter_linear32 = true
float_framebuffer32 = true
shader30 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input30 = true
filter_linear30 = true
float_framebuffer30 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader33 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear33 = true
float_framebuffer33 = true
alias33 = "BR_MirrorBlurredPass"
shader31 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear31 = true
float_framebuffer31 = true
alias31 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader34 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input34 = true
filter_linear34 = true
scale_type34 = absolute
scale_x34 = 128
scale_y34 = 128
float_framebuffer34 = true
alias34 = "BR_MirrorReflectionDiffusedPass"
shader32 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input32 = true
filter_linear32 = true
scale_type32 = absolute
scale_x32 = 128
scale_y32 = 128
float_framebuffer32 = true
alias32 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader35 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
scale_x35 = 12
scale_y35 = 12
float_framebuffer35 = true
alias35 = "BR_MirrorFullscreenGlowPass"
shader33 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
scale_x33 = 12
scale_y33 = 12
float_framebuffer33 = true
alias33 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader36 = ../../shaders/base/reflection-glass.slang
scale_type36 = viewport
srgb_framebuffer36 = true
alias36 = "ReflectionPass"
shader34 = ../../shaders/base/reflection-glass.slang
scale_type34 = viewport
srgb_framebuffer34 = true
alias34 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 41
shaders = 39
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,195 +43,211 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
float_framebuffer27 = true
alias27 = "PrePass"
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
float_framebuffer28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader30 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
float_framebuffer28 = "true"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader30 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear30 = "false"
scale_type30 = "source"
scale30 = "1.0"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
alias30 = "SourceSDR"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
shader31 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear31 = "false"
scale_type31 = "source"
scale31 = "1.0"
wrap_mode31 = "clamp_to_border"
mipmap_input31 = "false"
alias31 = "SourceHDR"
float_framebuffer31 = "true"
shader32 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear32 = "false"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
scale_type32 = "viewport"
float_framebuffer32 = "true"
alias32 = "CRTPass"
shader33 = ../../shaders/base/post-crt-prep-glass.slang
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "PostCRTPass"
shader31 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader34 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input34 = true
filter_linear34 = true
scale_type34 = absolute
// scale_x34 = 480
// scale_y34 = 270
// scale_x34 = 960
// scale_y34 = 540
scale_x34 = 800
scale_y34 = 600
float_framebuffer34 = true
alias34 = "BR_MirrorLowResPass"
shader32 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input32 = true
filter_linear32 = true
scale_type32 = absolute
// scale_x32 = 480
// scale_y32 = 270
// scale_x32 = 960
// scale_y32 = 540
scale_x32 = 800
scale_y32 = 600
float_framebuffer32 = true
alias32 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader35 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input35 = true
filter_linear35 = true
float_framebuffer35 = true
shader33 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input33 = true
filter_linear33 = true
float_framebuffer33 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader36 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear36 = true
float_framebuffer36 = true
alias36 = "BR_MirrorBlurredPass"
shader34 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear34 = true
float_framebuffer34 = true
alias34 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader37 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input37 = true
filter_linear37 = true
scale_type37 = absolute
scale_x37 = 128
scale_y37 = 128
float_framebuffer37 = true
alias37 = "BR_MirrorReflectionDiffusedPass"
shader35 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
scale_x35 = 128
scale_y35 = 128
float_framebuffer35 = true
alias35 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader38 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
scale_x38 = 12
scale_y38 = 12
float_framebuffer38 = true
alias38 = "BR_MirrorFullscreenGlowPass"
shader36 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
scale_x36 = 12
scale_y36 = 12
float_framebuffer36 = true
alias36 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader39 = ../../shaders/base/reflection-glass-hdr.slang
scale_type39 = viewport
alias39 = "ReflectionPass"
shader37 = ../../shaders/base/reflection-glass-hdr.slang
scale_type37 = viewport
alias37 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader40 = ../../shaders/base/output-hdr.slang
scale_type40 = viewport
alias40 = "OutputPass"
shader38 = ../../shaders/base/output-hdr.slang
scale_type38 = viewport
alias38 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -370,3 +386,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 39
shaders = 37
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,183 +43,199 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
float_framebuffer23 = true
alias23 = "PrePass"
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
float_framebuffer24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear26 = "false"
scale_type26 = "source"
scale26 = "1.0"
wrap_mode26 = "clamp_to_border"
mipmap_input26 = "false"
alias26 = "SourceSDR"
float_framebuffer26 = "true"
shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear27 = "false"
scale_type27 = "source"
scale27 = "1.0"
wrap_mode27 = "clamp_to_border"
mipmap_input27 = "false"
alias27 = "SourceHDR"
float_framebuffer27 = "true"
shader28 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
scale_type28 = "viewport"
float_framebuffer28 = "true"
alias28 = "CRTPass"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader30 = "../../shaders/megatron/crt-sony-megatron.slang"
filter_linear30 = "false"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
shader31 = ../../shaders/base/post-crt-prep-glass.slang
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
shader29 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader32 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input32 = true
filter_linear32 = true
scale_type32 = absolute
// scale_x32 = 480
// scale_y32 = 270
// scale_x32 = 960
// scale_y32 = 540
scale_x32 = 800
scale_y32 = 600
float_framebuffer32 = true
alias32 = "BR_MirrorLowResPass"
shader30 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input30 = true
filter_linear30 = true
scale_type30 = absolute
// scale_x30 = 480
// scale_y30 = 270
// scale_x30 = 960
// scale_y30 = 540
scale_x30 = 800
scale_y30 = 600
float_framebuffer30 = true
alias30 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader33 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input33 = true
filter_linear33 = true
float_framebuffer33 = true
shader31 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input31 = true
filter_linear31 = true
float_framebuffer31 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader34 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear34 = true
float_framebuffer34 = true
alias34 = "BR_MirrorBlurredPass"
shader32 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear32 = true
float_framebuffer32 = true
alias32 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader35 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input35 = true
filter_linear35 = true
scale_type35 = absolute
scale_x35 = 128
scale_y35 = 128
float_framebuffer35 = true
alias35 = "BR_MirrorReflectionDiffusedPass"
shader33 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
scale_x33 = 128
scale_y33 = 128
float_framebuffer33 = true
alias33 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader36 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
scale_x36 = 12
scale_y36 = 12
float_framebuffer36 = true
alias36 = "BR_MirrorFullscreenGlowPass"
shader34 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input34 = true
filter_linear34 = true
scale_type34 = absolute
scale_x34 = 12
scale_y34 = 12
float_framebuffer34 = true
alias34 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader37 = ../../shaders/base/reflection-glass-hdr.slang
scale_type37 = viewport
alias37 = "ReflectionPass"
shader35 = ../../shaders/base/reflection-glass-hdr.slang
scale_type35 = viewport
alias35 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader38 = ../../shaders/base/output-hdr.slang
scale_type38 = viewport
alias38 = "OutputPass"
shader36 = ../../shaders/base/output-hdr.slang
scale_type36 = viewport
alias36 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 47
shaders = 45
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,201 +124,178 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = "GlowPass"
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = "GlowPass"
alias38 = "BloomPass"
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = "BloomPass"
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
shader42 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
shader43 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias41 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader44 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear44 = true
scale_type44 = viewport
float_framebuffer44 = true
alias44 = "BR_LayersUnderCRTPass"
shader42 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear42 = true
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "BR_LayersUnderCRTPass"
shader45 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear45 = true
scale_type45 = viewport
float_framebuffer45 = true
alias45 = "BR_LayersOverCRTPass"
shader43 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear43 = true
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader46 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type46 = viewport
alias46 = "CombinePass"
shader44 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type44 = viewport
alias44 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -374,9 +390,11 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 44
shaders = 42
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,180 +124,157 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = "GlowPass"
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "GlowPass"
alias35 = "BloomPass"
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = "BloomPass"
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias38 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader41 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear41 = true
scale_type41 = viewport
float_framebuffer41 = true
alias41 = "BR_LayersUnderCRTPass"
shader39 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersUnderCRTPass"
shader42 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear42 = true
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "BR_LayersOverCRTPass"
shader40 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear40 = true
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader43 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type43 = viewport
alias43 = "CombinePass"
shader41 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type41 = viewport
alias41 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -351,7 +367,7 @@ TopLayerImage_mipmap = 1
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 41
shaders = 39
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,184 +43,200 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
alias27 = "PrePass"
mipmap_input27 = true
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear28 = true
scale_type_x28 = viewport
scale_x28 = 1.0
scale_type_y28 = source
scale_y28 = 1.0
float_framebuffer28 = true
alias28 = Pass1
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
scale_type_x29 = absolute
scale_x29 = 640.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader30 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = viewport
scale_x30 = 1.0
scale_type_y30 = source
scale_y30 = 1.0
scale_type_x30 = absolute
scale_x30 = 640.0
scale_type_y30 = absolute
scale_y30 = 480.0
float_framebuffer30 = true
alias30 = Pass1
alias30 = "GlowPass"
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 640.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 480.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 640.0
scale_type_y32 = absolute
scale_y32 = 480.0
float_framebuffer32 = true
alias32 = "GlowPass"
alias32 = "BloomPass"
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 640.0
scale_type_y33 = absolute
scale_y33 = 480.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = absolute
scale_y34 = 480.0
scale_type34 = viewport
scale_x34 = 1.0
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "BloomPass"
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias35 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader38 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersUnderCRTPass"
shader36 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear36 = true
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "BR_LayersUnderCRTPass"
shader39 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersOverCRTPass"
shader37 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader40 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type40 = viewport
alias40 = "CombinePass"
shader38 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type38 = viewport
alias38 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -315,3 +331,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 38
shaders = 36
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,163 +43,179 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear26 = true
scale_type_x26 = absolute
scale_x26 = 800.0
scale_type_y26 = source
scale_y26 = 1.0
float_framebuffer26 = true
shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear27 = true
scale_type_x27 = absolute
scale_x27 = 800.0
scale_type_y27 = absolute
scale_y27 = 600.0
float_framebuffer27 = true
alias27 = "GlowPass"
shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear28 = true
scale_type_x28 = absolute
scale_x28 = 800.0
scale_type_y28 = source
scale_y28 = 1.0
scale_type_y28 = absolute
scale_y28 = 600.0
float_framebuffer28 = true
shader29 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader29 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = absolute
scale_y29 = 600.0
scale_type_x29 = source
scale_x29 = 1.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = "GlowPass"
alias29 = "BloomPass"
shader30 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader30 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
scale_type30 = viewport
scale_x30 = 1.0
scale_y30 = 1.0
float_framebuffer30 = true
shader31 = ../../shaders/guest/hsm-bloom_vertical.slang
shader31 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear31 = true
scale_type_x31 = source
scale_type31 = viewport
scale_x31 = 1.0
scale_type_y31 = source
scale_y31 = 1.0
float_framebuffer31 = true
alias31 = "BloomPass"
alias31 = "CRTPass"
shader32 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear32 = true
shader32 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input32 = true
scale_type32 = viewport
scale_x32 = 1.0
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear33 = true
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = "CRTPass"
shader34 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "PostCRTPass"
alias32 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader35 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "BR_LayersUnderCRTPass"
shader33 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear33 = true
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "BR_LayersUnderCRTPass"
shader36 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear36 = true
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "BR_LayersOverCRTPass"
shader34 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear34 = true
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader37 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type37 = viewport
alias37 = "CombinePass"
shader35 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type35 = viewport
alias35 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 37
shaders = 35
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,151 +43,167 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
float_framebuffer27 = true
alias27 = "PrePass"
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
float_framebuffer28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader30 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
float_framebuffer28 = "true"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader30 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear30 = "false"
scale_type30 = "source"
scale30 = "1.0"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
alias30 = "SourceSDR"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
shader31 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear31 = "false"
scale_type31 = "source"
scale31 = "1.0"
wrap_mode31 = "clamp_to_border"
mipmap_input31 = "false"
alias31 = "SourceHDR"
float_framebuffer31 = "true"
shader32 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear32 = "false"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
scale_type32 = "viewport"
float_framebuffer32 = "true"
alias32 = "CRTPass"
shader33 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "PostCRTPass"
shader31 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader34 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear34 = true
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "BR_LayersUnderCRTPass"
shader32 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear32 = true
scale_type32 = viewport
float_framebuffer32 = true
alias32 = "BR_LayersUnderCRTPass"
shader35 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear35 = true
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "BR_LayersOverCRTPass"
shader33 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear33 = true
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader36 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type36 = viewport
alias36 = "CombinePass"
shader34 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type34 = viewport
alias34 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -290,3 +306,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 35
shaders = 33
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,139 +43,155 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
float_framebuffer23 = true
alias23 = "PrePass"
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
float_framebuffer24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear26 = "false"
scale_type26 = "source"
scale26 = "1.0"
wrap_mode26 = "clamp_to_border"
mipmap_input26 = "false"
alias26 = "SourceSDR"
float_framebuffer26 = "true"
shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear27 = "false"
scale_type27 = "source"
scale27 = "1.0"
wrap_mode27 = "clamp_to_border"
mipmap_input27 = "false"
alias27 = "SourceHDR"
float_framebuffer27 = "true"
shader28 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
scale_type28 = "viewport"
float_framebuffer28 = "true"
alias28 = "CRTPass"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader30 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear30 = "false"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
shader31 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
shader29 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader32 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear32 = true
scale_type32 = viewport
float_framebuffer32 = true
alias32 = "BR_LayersUnderCRTPass"
shader30 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "BR_LayersUnderCRTPass"
shader33 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear33 = true
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "BR_LayersOverCRTPass"
shader31 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader34 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type34 = viewport
alias34 = "CombinePass"
shader32 = ../../shaders/base/combine-passes-no-reflect-hdr.slang
scale_type32 = viewport
alias32 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 45
shaders = 43
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,187 +124,164 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader22 = ../../shaders/base/stock.slang
alias22 = "PreCRTPass"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader23 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear23 = true
scale_type23 = source
scale23 = 1.0
alias23 = "AfterglowPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear24 = true
scale_type24 = source
mipmap_input24 = true
scale24 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader27 = ../../shaders/dogway/hsm-grade.slang
shader25 = ../../shaders/dogway/hsm-grade.slang
filter_linear25 = false
scale_type25 = source
scale25 = 1.0
alias25 = "ColorCorrectPass"
shader26 = ../../shaders/base/stock.slang
alias26 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
float_framebuffer27 = true
scale_type_x27 = source
scale_type_y27 = source
scale_x27 = 4.0
scale_y27 = 1.0
frame_count_mod27 = 2
alias27 = NPass1
shader28 = ../../shaders/base/stock.slang
alias28 = "PrePass0"
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer28 = true
filter_linear28 = true
scale_type28 = source
scale_x28 = 0.5
scale_y28 = 1.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear29 = false
float_framebuffer29 = true
scale_type_x29 = source
scale_type_y29 = source
scale_x29 = 4.0
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
frame_count_mod29 = 2
alias29 = NPass1
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer30 = true
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 0.5
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
shader33 = ../../shaders/base/stock.slang
filter_linear33 = true
scale_type33 = source
scale_x33 = 1.0
scale_y33 = 1.0
alias33 = "PrePass"
mipmap_input33 = true
shader34 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
mipmap_input34 = true
alias34 = "AvgLumPass"
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader35 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear34 = true
scale_type_x34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = Pass1
shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear35 = true
scale_type35 = source
scale35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "LinearizePass"
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear36 = true
scale_type_x36 = viewport
scale_x36 = 1.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
alias36 = Pass1
alias36 = "GlowPass"
shader37 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = source
scale_y37 = 1.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
shader38 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader38 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
float_framebuffer38 = true
alias38 = "GlowPass"
alias38 = "BloomPass"
shader39 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
shader40 = ../../shaders/guest/hsm-bloom_vertical.slang
shader40 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear40 = true
scale_type_x40 = absolute
scale_x40 = 640.0
scale_type_y40 = absolute
scale_y40 = 480.0
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
alias40 = "BloomPass"
alias40 = "CRTPass"
shader41 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear41 = true
shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
shader42 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear42 = true
scale_type42 = viewport
scale_x42 = 1.0
scale_y42 = 1.0
float_framebuffer42 = true
alias42 = "CRTPass"
shader43 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "PostCRTPass"
alias41 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader44 = ../../shaders/base/output-sdr.slang
scale_type44 = viewport
alias44 = "OutputPass"
shader42 = ../../shaders/base/output-sdr.slang
scale_type42 = viewport
alias42 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -360,9 +376,11 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 42
shaders = 40
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,41 +43,80 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
// filter_linear18 = "false"
// wrap_mode18 = "clamp_to_border"
// mipmap_input18 = "false"
// float_framebuffer18 = "false"
// srgb_framebuffer18 = "true"
alias18 = XbrSource
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
// filter_linear16 = "false"
// wrap_mode16 = "clamp_to_border"
// mipmap_input16 = "false"
// float_framebuffer16 = "false"
// srgb_framebuffer16 = "true"
alias16 = XbrSource
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "2.000000"
scale_type_y18 = "source"
scale_y18 = "2.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
@ -85,166 +124,143 @@ alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
scale_y20 = "1.000000"
shader21 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear22 = "false"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "false"
alias22 = ""
float_framebuffer22 = "false"
srgb_framebuffer22 = "true"
scale_type_x22 = "source"
scale_x22 = "1.000000"
scale_type_y22 = "source"
scale_y22 = "1.000000"
shader23 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear23 = false
scale_type_x23 = source
scale_x23 = 1
scale_type_y23 = source
scale_y23 = 0.5
wrap_mode23 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear21 = false
scale_type_x21 = source
scale_x21 = 1
scale_type_y21 = source
scale_y21 = 0.5
wrap_mode21 = "clamp_to_edge"
// GTU TV Processing
shader24 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type24 = source
scale24 = 1.0
float_framebuffer24 = true
shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type22 = source
scale22 = 1.0
float_framebuffer22 = true
shader25 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x25 = source
scale_x25 = 1.0
scale_type_y25 = source
scale_y25 = 1.0
filter_linear25 = false
float_framebuffer25 = true
shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x23 = source
scale_x23 = 1.0
scale_type_y23 = source
scale_y23 = 1.0
filter_linear23 = false
float_framebuffer23 = true
shader26 = ../../shaders/base/stock.slang
alias26 = "PreCRTPass"
shader24 = ../../shaders/base/stock.slang
alias24 = "PreCRTPass"
shader27 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
alias27 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
alias25 = "AfterglowPass"
shader28 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear28 = true
scale_type28 = source
mipmap_input28 = true
scale28 = 1.0
shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear26 = true
scale_type26 = source
mipmap_input26 = true
scale26 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader29 = ../../shaders/dogway/hsm-grade.slang
filter_linear29 = false
scale_type29 = source
scale29 = 1.0
alias29 = "ColorCorrectPass"
shader27 = ../../shaders/dogway/hsm-grade.slang
filter_linear27 = false
scale_type27 = source
scale27 = 1.0
alias27 = "ColorCorrectPass"
shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
shader29 = ../../shaders/base/stock.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 1.0
scale_y29 = 1.0
alias29 = "PrePass"
mipmap_input29 = true
shader30 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
shader31 = ../../shaders/base/stock.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
alias31 = "PrePass"
mipmap_input31 = true
shader32 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
mipmap_input32 = true
alias32 = "AvgLumPass"
scale30 = 1.0
mipmap_input30 = true
alias30 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
float_framebuffer33 = true
alias33 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear31 = true
scale_type31 = source
scale31 = 1.0
float_framebuffer31 = true
alias31 = "LinearizePass"
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
float_framebuffer33 = true
alias33 = "GlowPass"
shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 800.0
scale_type_y34 = source
scale_y34 = 1.0
scale_type_y34 = absolute
scale_y34 = 600.0
float_framebuffer34 = true
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader35 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear35 = true
scale_type_x35 = absolute
scale_x35 = 800.0
scale_type_y35 = absolute
scale_y35 = 600.0
scale_type_x35 = source
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
float_framebuffer35 = true
alias35 = "GlowPass"
alias35 = "BloomPass"
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 800.0
scale_type_y36 = absolute
scale_y36 = 600.0
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear37 = true
scale_type_x37 = source
scale_type37 = viewport
scale_x37 = 1.0
scale_type_y37 = source
scale_y37 = 1.0
float_framebuffer37 = true
alias37 = "BloomPass"
alias37 = "CRTPass"
shader38 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear38 = true
shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input38 = true
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear39 = true
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "CRTPass"
shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type40 = viewport
float_framebuffer40 = true
alias40 = "PostCRTPass"
alias38 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader41 = ../../shaders/base/output-sdr.slang
scale_type41 = viewport
alias41 = "OutputPass"
shader39 = ../../shaders/base/output-sdr.slang
scale_type39 = viewport
alias39 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -337,7 +353,7 @@ TopLayerImage_mipmap = 1
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -0,0 +1,279 @@
shaders = 32
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
shader1 = ../../shaders/base/stock.slang
filter_linear1 = false
srgb_framebuffer1 = true
scale_type1 = source
scale_x1 = 1
scale_y1 = 1
alias1 = "DerezedPass"
shader2 = ../../shaders/base/add-negative-crop-area.slang
filter_linear2 = false
mipmap_input2 = false
srgb_framebuffer2 = true
scale_type2 = source
scale_x2 = 1
scale_y2 = 1
alias2 = "NegativeCropAddedPass"
shader3 = ../../shaders/base/cache-info-no-reflect-params.slang
filter_linear3 = false
scale_type3 = source
scale3 = 1.0
alias3 = "InfoCachePass"
shader4 = ../../shaders/base/text-adv-no-reflect.slang
filter_linear4 = false
float_framebuffer4 = true
scale_type4 = source
scale4 = 1.0
alias4 = "TextPass"
shader5 = ../../shaders/base/intro.slang
filter_linear5 = false
float_framebuffer5 = true
scale_type5 = source
scale5 = 1.0
alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/base/delinearize.slang
scale_type28 = source
float_framebuffer28 = "true"
shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang
scale_type29 = viewport
scale_x29 = 1.0
scale_y29 = 1.0
filter_linear29 = true
float_framebuffer29 = "true"
alias29 = "CRTPass"
g_sat = 0.15
g_gamma_out = 2.45
shader30 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input30 = true
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader31 = ../../shaders/base/output-sdr.slang
scale_type31 = viewport
alias31 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png
SamplerLUT1_linear = true
SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png
SamplerLUT2_linear = true
SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png
SamplerLUT3_linear = true
SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png
SamplerLUT4_linear = true
IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png
IntroImage_linear = true
IntroImage_mipmap = 1
ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
ScreenPlacementImage_linear = false
TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png
TubeDiffuseImage_linear = true
TubeDiffuseImage_mipmap = 1
TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png
TubeColoredGelImage_linear = true
TubeColoredGelImage_mipmap = 1
TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png
TubeShadowImage_linear = true
TubeShadowImage_mipmap = 1
TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png
TubeStaticReflectionImage_linear = true
TubeStaticReflectionImage_mipmap = 1
ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png
ReflectionMaskImage_linear = true
ReflectionMaskImage_mipmap = 1
FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png
FrameTextureImage_linear = true
FrameTextureImage_mipmap = 1
BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png
BackgroundImage_linear = true
BackgroundImage_mipmap = 1
BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
BackgroundVertImage_linear = true
BackgroundVertImage_mipmap = 1
CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
CabinetGlassImage_linear = true
CabinetGlassImage_mipmap = 1
DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DeviceImage_linear = true
DeviceImage_mipmap = 1
DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DeviceVertImage_linear = true
DeviceVertImage_mipmap = 1
DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DeviceLEDImage_linear = true
DeviceLEDImage_mipmap = 1
DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DecalImage_linear = true
DecalImage_mipmap = 1
NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png
NightLightingImage_linear = true
NightLightingImage_mipmap = 1
NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png
NightLighting2Image_linear = true
NightLighting2Image_mipmap = 1
LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
LEDImage_linear = true
LEDImage_mipmap = 1
TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
TopLayerImage_linear = true
TopLayerImage_mipmap = 1
// Use for matching vanilla GDV-Advanced
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -0,0 +1,260 @@
shaders = 30
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
shader1 = ../../shaders/base/stock.slang
filter_linear1 = false
srgb_framebuffer1 = true
scale_type1 = source
scale_x1 = 1
scale_y1 = 1
alias1 = "DerezedPass"
shader2 = ../../shaders/base/add-negative-crop-area.slang
filter_linear2 = false
mipmap_input2 = false
srgb_framebuffer2 = true
scale_type2 = source
scale_x2 = 1
scale_y2 = 1
alias2 = "NegativeCropAddedPass"
shader3 = ../../shaders/base/cache-info-no-reflect-params.slang
filter_linear3 = false
scale_type3 = source
scale3 = 1.0
alias3 = "InfoCachePass"
shader4 = ../../shaders/base/text-adv-no-reflect.slang
filter_linear4 = false
float_framebuffer4 = true
scale_type4 = source
scale4 = 1.0
alias4 = "TextPass"
shader5 = ../../shaders/base/intro.slang
filter_linear5 = false
float_framebuffer5 = true
scale_type5 = source
scale5 = 1.0
alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader26 = ../../shaders/base/delinearize.slang
scale_type26 = source
float_framebuffer26 = "true"
shader27 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang
scale_type27 = viewport
scale_x27 = 1.0
scale_y27 = 1.0
filter_linear27 = true
float_framebuffer27 = "true"
alias27 = "CRTPass"
g_sat = 0.15
g_gamma_out = 2.45
shader28 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader29 = ../../shaders/base/output-sdr.slang
scale_type29 = viewport
alias29 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png
SamplerLUT1_linear = true
SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png
SamplerLUT2_linear = true
SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png
SamplerLUT3_linear = true
SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png
SamplerLUT4_linear = true
IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png
IntroImage_linear = true
IntroImage_mipmap = 1
ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
ScreenPlacementImage_linear = false
TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png
TubeDiffuseImage_linear = true
TubeDiffuseImage_mipmap = 1
TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png
TubeColoredGelImage_linear = true
TubeColoredGelImage_mipmap = 1
TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png
TubeShadowImage_linear = true
TubeShadowImage_mipmap = 1
TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png
TubeStaticReflectionImage_linear = true
TubeStaticReflectionImage_mipmap = 1
ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png
ReflectionMaskImage_linear = true
ReflectionMaskImage_mipmap = 1
FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png
FrameTextureImage_linear = true
FrameTextureImage_mipmap = 1
BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png
BackgroundImage_linear = true
BackgroundImage_mipmap = 1
BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
BackgroundVertImage_linear = true
BackgroundVertImage_mipmap = 1
CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
CabinetGlassImage_linear = true
CabinetGlassImage_mipmap = 1
DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DeviceImage_linear = true
DeviceImage_mipmap = 1
DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DeviceVertImage_linear = true
DeviceVertImage_mipmap = 1
DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DeviceLEDImage_linear = true
DeviceLEDImage_mipmap = 1
DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
DecalImage_linear = true
DecalImage_mipmap = 1
NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png
NightLightingImage_linear = true
NightLightingImage_mipmap = 1
NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png
NightLighting2Image_linear = true
NightLighting2Image_mipmap = 1
LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
LEDImage_linear = true
LEDImage_mipmap = 1
TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png
TopLayerImage_linear = true
TopLayerImage_mipmap = 1
// Use for matching vanilla GDV-Advanced
// HSM_ASPECT_RATIO_MODE = 6
// HSM_CURVATURE_MODE = 0

View file

@ -1,4 +1,4 @@
shaders = 39
shaders = 37
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,170 +43,186 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
alias27 = "PrePass"
mipmap_input27 = true
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear28 = true
scale_type_x28 = viewport
scale_x28 = 1.0
scale_type_y28 = source
scale_y28 = 1.0
float_framebuffer28 = true
alias28 = Pass1
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
scale_type_x29 = absolute
scale_x29 = 640.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader30 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = viewport
scale_x30 = 1.0
scale_type_y30 = source
scale_y30 = 1.0
scale_type_x30 = absolute
scale_x30 = 640.0
scale_type_y30 = absolute
scale_y30 = 480.0
float_framebuffer30 = true
alias30 = Pass1
alias30 = "GlowPass"
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 640.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 480.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 640.0
scale_type_y32 = absolute
scale_y32 = 480.0
float_framebuffer32 = true
alias32 = "GlowPass"
alias32 = "BloomPass"
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 640.0
scale_type_y33 = absolute
scale_y33 = 480.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear34 = true
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = absolute
scale_y34 = 480.0
scale_type34 = viewport
scale_x34 = 1.0
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "BloomPass"
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias35 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader38 = ../../shaders/base/output-sdr.slang
scale_type38 = viewport
alias38 = "OutputPass"
shader36 = ../../shaders/base/output-sdr.slang
scale_type36 = viewport
alias36 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -301,3 +317,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 36
shaders = 34
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,149 +43,165 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
alias23 = "PrePass"
mipmap_input23 = true
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
alias25 = "PrePass"
mipmap_input25 = true
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear26 = true
scale_type_x26 = absolute
scale_x26 = 800.0
scale_type_y26 = source
scale_y26 = 1.0
float_framebuffer26 = true
shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear27 = true
scale_type_x27 = absolute
scale_x27 = 800.0
scale_type_y27 = absolute
scale_y27 = 600.0
float_framebuffer27 = true
alias27 = "GlowPass"
shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear28 = true
scale_type_x28 = absolute
scale_x28 = 800.0
scale_type_y28 = source
scale_y28 = 1.0
scale_type_y28 = absolute
scale_y28 = 600.0
float_framebuffer28 = true
shader29 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader29 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = absolute
scale_y29 = 600.0
scale_type_x29 = source
scale_x29 = 1.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
alias29 = "GlowPass"
alias29 = "BloomPass"
shader30 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader30 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
scale_type30 = viewport
scale_x30 = 1.0
scale_y30 = 1.0
float_framebuffer30 = true
shader31 = ../../shaders/guest/hsm-bloom_vertical.slang
shader31 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear31 = true
scale_type_x31 = source
scale_type31 = viewport
scale_x31 = 1.0
scale_type_y31 = source
scale_y31 = 1.0
float_framebuffer31 = true
alias31 = "BloomPass"
alias31 = "CRTPass"
shader32 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear32 = true
shader32 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input32 = true
scale_type32 = viewport
scale_x32 = 1.0
scale_y32 = 1.0
float_framebuffer32 = true
shader33 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear33 = true
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = "CRTPass"
shader34 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "PostCRTPass"
alias32 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader35 = ../../shaders/base/output-sdr.slang
scale_type35 = viewport
alias35 = "OutputPass"
shader33 = ../../shaders/base/output-sdr.slang
scale_type33 = viewport
alias33 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 35
shaders = 33
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,137 +43,153 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
shader16 = ../../shaders/base/stock.slang
alias16 = "PreCRTPass"
shader17 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear17 = true
scale_type17 = source
scale17 = 1.0
alias17 = "AfterglowPass"
shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear18 = true
scale_type18 = source
mipmap_input18 = true
scale18 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader21 = ../../shaders/dogway/hsm-grade.slang
shader19 = ../../shaders/dogway/hsm-grade.slang
filter_linear19 = false
scale_type19 = source
scale19 = 1.0
alias19 = "ColorCorrectPass"
shader20 = ../../shaders/base/stock.slang
alias20 = "PrePass0"
shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
float_framebuffer21 = true
scale_type_x21 = source
scale_type_y21 = source
scale_x21 = 4.0
scale_y21 = 1.0
frame_count_mod21 = 2
alias21 = NPass1
shader22 = ../../shaders/base/stock.slang
alias22 = "PrePass0"
shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer22 = true
filter_linear22 = true
scale_type22 = source
scale_x22 = 0.5
scale_y22 = 1.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear23 = false
float_framebuffer23 = true
scale_type_x23 = source
scale_type_y23 = source
scale_x23 = 4.0
shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear23 = true
scale_type23 = source
scale_x23 = 1.0
scale_y23 = 1.0
frame_count_mod23 = 2
alias23 = NPass1
shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer24 = true
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 0.5
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
shader27 = ../../shaders/base/stock.slang
float_framebuffer27 = true
alias27 = "PrePass"
shader28 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
mipmap_input28 = true
float_framebuffer28 = true
alias28 = "AvgLumPass"
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader29 = ../../shaders/guest/hsm-interlace.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
float_framebuffer29 = true
alias29 = "LinearizePass"
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader30 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
float_framebuffer28 = "true"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader30 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear30 = "false"
scale_type30 = "source"
scale30 = "1.0"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
alias30 = "SourceSDR"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
shader31 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear31 = "false"
scale_type31 = "source"
scale31 = "1.0"
wrap_mode31 = "clamp_to_border"
mipmap_input31 = "false"
alias31 = "SourceHDR"
float_framebuffer31 = "true"
shader32 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear32 = "false"
wrap_mode32 = "clamp_to_border"
mipmap_input32 = "false"
scale_type32 = "viewport"
float_framebuffer32 = "true"
alias32 = "CRTPass"
shader33 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "PostCRTPass"
shader31 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input31 = true
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader34 = ../../shaders/base/output-hdr.slang
scale_type34 = viewport
alias34 = "OutputPass"
shader32 = ../../shaders/base/output-hdr.slang
scale_type32 = viewport
alias32 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -276,3 +292,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -1,4 +1,4 @@
shaders = 33
shaders = 31
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,125 +43,141 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias17 = "DeditherPass"
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang
shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias14 = "DeditherPass"
shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias15 = "DeditherPass"
// GTU TV Processing
shader18 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type18 = source
scale18 = 1.0
float_framebuffer18 = true
shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang
scale_type16 = source
scale16 = 1.0
float_framebuffer16 = true
shader19 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x19 = source
scale_x19 = 1.0
scale_type_y19 = source
scale_y19 = 1.0
filter_linear19 = false
float_framebuffer19 = true
shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang
scale_type_x17 = source
scale_x17 = 1.0
scale_type_y17 = source
scale_y17 = 1.0
filter_linear17 = false
float_framebuffer17 = true
shader20 = ../../shaders/base/stock.slang
alias20 = "PreCRTPass"
shader18 = ../../shaders/base/stock.slang
alias18 = "PreCRTPass"
shader21 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear21 = true
scale_type21 = source
scale21 = 1.0
alias21 = "AfterglowPass"
shader19 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear19 = true
scale_type19 = source
scale19 = 1.0
alias19 = "AfterglowPass"
shader22 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear22 = true
scale_type22 = source
mipmap_input22 = true
scale22 = 1.0
shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear20 = true
scale_type20 = source
mipmap_input20 = true
scale20 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader23 = ../../shaders/dogway/hsm-grade.slang
filter_linear23 = false
scale_type23 = source
scale23 = 1.0
alias23 = "ColorCorrectPass"
shader21 = ../../shaders/dogway/hsm-grade.slang
filter_linear21 = false
scale_type21 = source
scale21 = 1.0
alias21 = "ColorCorrectPass"
shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear22 = true
scale_type22 = source
scale_x22 = 1.0
scale_y22 = 1.0
shader23 = ../../shaders/base/stock.slang
float_framebuffer23 = true
alias23 = "PrePass"
shader24 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear24 = true
scale_type24 = source
scale_x24 = 1.0
scale_y24 = 1.0
shader25 = ../../shaders/base/stock.slang
float_framebuffer25 = true
alias25 = "PrePass"
shader26 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear26 = true
scale_type26 = source
scale26 = 1.0
mipmap_input26 = true
float_framebuffer26 = true
alias26 = "AvgLumPass"
scale24 = 1.0
mipmap_input24 = true
float_framebuffer24 = true
alias24 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader27 = ../../shaders/guest/hsm-interlace.slang
filter_linear27 = true
scale_type27 = source
scale27 = 1.0
float_framebuffer27 = true
alias27 = "LinearizePass"
shader25 = ../../shaders/guest/hsm-interlace.slang
filter_linear25 = true
scale_type25 = source
scale25 = 1.0
float_framebuffer25 = true
alias25 = "LinearizePass"
feedback_pass = "0"
// Sony Megatron Colour Video Monitor by Major Pain The Cactus
shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang"
filter_linear26 = "false"
scale_type26 = "source"
scale26 = "1.0"
wrap_mode26 = "clamp_to_border"
mipmap_input26 = "false"
alias26 = "SourceSDR"
float_framebuffer26 = "true"
shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear27 = "false"
scale_type27 = "source"
scale27 = "1.0"
wrap_mode27 = "clamp_to_border"
mipmap_input27 = "false"
alias27 = "SourceHDR"
float_framebuffer27 = "true"
shader28 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear28 = "false"
scale_type28 = "source"
scale28 = "1.0"
wrap_mode28 = "clamp_to_border"
mipmap_input28 = "false"
alias28 = "SourceSDR"
scale_type28 = "viewport"
float_framebuffer28 = "true"
alias28 = "CRTPass"
shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang"
filter_linear29 = "false"
scale_type29 = "source"
scale29 = "1.0"
wrap_mode29 = "clamp_to_border"
mipmap_input29 = "false"
alias29 = "SourceHDR"
float_framebuffer29 = "true"
shader30 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang"
filter_linear30 = "false"
wrap_mode30 = "clamp_to_border"
mipmap_input30 = "false"
scale_type30 = "viewport"
float_framebuffer30 = "true"
alias30 = "CRTPass"
shader31 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type31 = viewport
float_framebuffer31 = true
alias31 = "PostCRTPass"
shader29 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader32 = ../../shaders/base/output-hdr.slang
scale_type32 = viewport
alias32 = "OutputPass"
shader30 = ../../shaders/base/output-hdr.slang
scale_type30 = viewport
alias30 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"

View file

@ -1,4 +1,4 @@
shaders = 49
shaders = 47
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,241 +122,218 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader25 = ../../shaders/base/stock.slang
alias25 = "PrePass0"
shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
float_framebuffer26 = true
scale_type_x26 = source
scale_type_y26 = source
scale_x26 = 4.0
scale_y26 = 1.0
frame_count_mod26 = 2
alias26 = NPass1
shader27 = ../../shaders/base/stock.slang
alias27 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer27 = true
filter_linear27 = true
scale_type27 = source
scale_x27 = 0.5
scale_y27 = 1.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear28 = false
float_framebuffer28 = true
scale_type_x28 = source
scale_type_y28 = source
scale_x28 = 4.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
frame_count_mod28 = 2
alias28 = NPass1
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer29 = true
shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 0.5
scale_x29 = 1.0
scale_y29 = 1.0
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader30 = ../../shaders/base/stock.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
alias30 = "PrePass"
mipmap_input30 = true
shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader31 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader32 = ../../shaders/base/stock.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
alias32 = "PrePass"
mipmap_input32 = true
shader33 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
mipmap_input33 = true
alias33 = "AvgLumPass"
scale31 = 1.0
mipmap_input31 = true
alias31 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
float_framebuffer32 = true
alias32 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear33 = true
scale_type_x33 = viewport
scale_x33 = 1.0
scale_type_y33 = source
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = Pass1
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "LinearizePass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear35 = true
scale_type_x35 = viewport
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = absolute
scale_y35 = 480.0
float_framebuffer35 = true
alias35 = Pass1
alias35 = GlowPass
shader36 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
alias37 = GlowPass
alias37 = BloomPass
shader38 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader38 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-bloom_vertical.slang
shader39 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = BloomPass
alias39 = "CRTPass"
shader40 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
filter_linear40 = true
shader40 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input40 = true
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
shader41 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
alias41 = "CRTPass"
shader42 = ../../shaders/base/post-crt-prep-glass.slang
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "PostCRTPass"
alias40 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader43 = ../../shaders/base/linearize-crt.slang
mipmap_input43 = true
filter_linear43 = true
scale_type43 = absolute
// scale_x43 = 480
// scale_y43 = 270
// scale_x43 = 960
// scale_y43 = 540
scale_x43 = 800
scale_y43 = 600
float_framebuffer43 = true
alias43 = "BR_MirrorLowResPass"
shader41 = ../../shaders/base/linearize-crt.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
// scale_x41 = 480
// scale_y41 = 270
// scale_x41 = 960
// scale_y41 = 540
scale_x41 = 800
scale_y41 = 600
float_framebuffer41 = true
alias41 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader44 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input44 = true
filter_linear44 = true
float_framebuffer44 = true
shader42 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input42 = true
filter_linear42 = true
float_framebuffer42 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader45 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear45 = true
float_framebuffer45 = true
alias45 = "BR_MirrorBlurredPass"
shader43 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear43 = true
float_framebuffer43 = true
alias43 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader46 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input46 = true
filter_linear46 = true
scale_type46 = absolute
scale_x46 = 128
scale_y46 = 128
float_framebuffer46 = true
alias46 = "BR_MirrorReflectionDiffusedPass"
shader44 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input44 = true
filter_linear44 = true
scale_type44 = absolute
scale_x44 = 128
scale_y44 = 128
float_framebuffer44 = true
alias44 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader47 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input47 = true
filter_linear47 = true
scale_type47 = absolute
scale_x47 = 12
scale_y47 = 12
float_framebuffer47 = true
alias47 = "BR_MirrorFullscreenGlowPass"
shader45 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input45 = true
filter_linear45 = true
scale_type45 = absolute
scale_x45 = 12
scale_y45 = 12
float_framebuffer45 = true
alias45 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader48 = ../../shaders/base/reflection-glass.slang
scale_type48 = viewport
srgb_framebuffer48 = true
alias48 = "ReflectionPass"
shader46 = ../../shaders/base/reflection-glass.slang
scale_type46 = viewport
srgb_framebuffer46 = true
alias46 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -448,9 +464,11 @@ g_vignette = "0.0"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 44
shaders = 42
shader0 = ../../shaders/base/add-params-glass.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,206 +122,183 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader27 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader26 = ../../shaders/base/stock.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
alias26 = "PrePass"
mipmap_input26 = true
shader27 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
shader28 = ../../shaders/base/stock.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
alias28 = "PrePass"
mipmap_input28 = true
shader29 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
mipmap_input29 = true
alias29 = "AvgLumPass"
scale27 = 1.0
mipmap_input27 = true
alias27 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader30 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear30 = true
scale_type30 = source
scale30 = 1.0
float_framebuffer30 = true
alias30 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
float_framebuffer28 = true
alias28 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
float_framebuffer30 = true
alias30 = GlowPass
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 800.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 600.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = absolute
scale_y32 = 600.0
scale_type_x32 = source
scale_x32 = 1.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
alias32 = GlowPass
alias32 = BloomPass
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear34 = true
scale_type_x34 = source
scale_type34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = BloomPass
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-glass.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias35 = "PostCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader38 = ../../shaders/base/linearize-crt.slang
mipmap_input38 = true
filter_linear38 = true
scale_type38 = absolute
// scale_x38 = 480
// scale_y38 = 270
// scale_x38 = 960
// scale_y38 = 540
scale_x38 = 800
scale_y38 = 600
float_framebuffer38 = true
alias38 = "BR_MirrorLowResPass"
shader36 = ../../shaders/base/linearize-crt.slang
mipmap_input36 = true
filter_linear36 = true
scale_type36 = absolute
// scale_x36 = 480
// scale_y36 = 270
// scale_x36 = 960
// scale_y36 = 540
scale_x36 = 800
scale_y36 = 600
float_framebuffer36 = true
alias36 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader39 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input39 = true
filter_linear39 = true
float_framebuffer39 = true
shader37 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input37 = true
filter_linear37 = true
float_framebuffer37 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader40 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear40 = true
float_framebuffer40 = true
alias40 = "BR_MirrorBlurredPass"
shader38 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear38 = true
float_framebuffer38 = true
alias38 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader41 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input41 = true
filter_linear41 = true
scale_type41 = absolute
scale_x41 = 128
scale_y41 = 128
float_framebuffer41 = true
alias41 = "BR_MirrorReflectionDiffusedPass"
shader39 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input39 = true
filter_linear39 = true
scale_type39 = absolute
scale_x39 = 128
scale_y39 = 128
float_framebuffer39 = true
alias39 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader42 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input42 = true
filter_linear42 = true
scale_type42 = absolute
scale_x42 = 12
scale_y42 = 12
float_framebuffer42 = true
alias42 = "BR_MirrorFullscreenGlowPass"
shader40 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input40 = true
filter_linear40 = true
scale_type40 = absolute
scale_x40 = 12
scale_y40 = 12
float_framebuffer40 = true
alias40 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader43 = ../../shaders/base/reflection-glass.slang
scale_type43 = viewport
srgb_framebuffer43 = true
alias43 = "ReflectionPass"
shader41 = ../../shaders/base/reflection-glass.slang
scale_type41 = viewport
srgb_framebuffer41 = true
alias41 = "ReflectionPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -411,7 +427,7 @@ HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000"
g_vignette = "0.0"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -137,6 +137,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader21 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"
@ -329,3 +330,6 @@ g_vignette = "0.0"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -111,6 +111,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader17 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"

View file

@ -164,7 +164,7 @@ scale_y23 = 480.0
float_framebuffer23 = true
alias23 = BloomPass
shader24 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
shader24 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear24 = true
scale_type24 = viewport
scale_x24 = 1.0
@ -180,6 +180,7 @@ float_framebuffer25 = true
alias25 = "CRTPass"
shader26 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input26 = true
scale_type26 = viewport
float_framebuffer26 = true
alias26 = "PostCRTPass"
@ -372,3 +373,6 @@ g_vignette = "0.0"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -145,6 +145,7 @@ float_framebuffer20 = true
alias20 = "CRTPass"
shader21 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"

View file

@ -106,6 +106,7 @@ float_framebuffer16 = "true"
alias16 = "CRTPass"
shader17 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"

View file

@ -147,6 +147,7 @@ float_framebuffer21 = "true"
alias21 = "CRTPass"
shader22 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input22 = true
scale_type22 = viewport
float_framebuffer22 = true
alias22 = "PostCRTPass"
@ -351,3 +352,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -121,6 +121,7 @@ float_framebuffer17 = "true"
alias17 = "CRTPass"
shader18 = ../../shaders/base/post-crt-prep-glass.slang
mipmap_input18 = true
scale_type18 = viewport
float_framebuffer18 = true
alias18 = "PostCRTPass"

View file

@ -164,7 +164,7 @@ scale_y23 = 480.0
float_framebuffer23 = true
alias23 = BloomPass
shader24 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
shader24 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear24 = true
scale_type24 = viewport
scale_x24 = 1.0
@ -180,81 +180,82 @@ float_framebuffer25 = true
alias25 = "CRTPass"
shader26 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input26 = true
scale_type26 = viewport
float_framebuffer26 = true
alias26 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader27 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear27 = true
scale_type27 = viewport
float_framebuffer27 = true
alias27 = "BR_LayersUnderCRTPass"
shader28 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader27 = ../../shaders/base/linearize-crt.slang
mipmap_input27 = true
filter_linear27 = true
scale_type27 = absolute
// scale_x27 = 480
// scale_y27 = 270
// scale_x27 = 960
// scale_y27 = 540
scale_x27 = 800
scale_y27 = 600
float_framebuffer27 = true
alias27 = "BR_MirrorLowResPass"
shader29 = ../../shaders/base/linearize-crt.slang
mipmap_input29 = true
filter_linear29 = true
scale_type29 = absolute
// scale_x29 = 480
// scale_y29 = 270
// scale_x29 = 960
// scale_y29 = 540
scale_x29 = 800
scale_y29 = 600
float_framebuffer29 = true
alias29 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader28 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input28 = true
filter_linear28 = true
float_framebuffer28 = true
shader30 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input30 = true
filter_linear30 = true
float_framebuffer30 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader29 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear29 = true
float_framebuffer29 = true
alias29 = "BR_MirrorBlurredPass"
shader31 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear31 = true
float_framebuffer31 = true
alias31 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader30 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input30 = true
filter_linear30 = true
scale_type30 = absolute
scale_x30 = 128
scale_y30 = 128
float_framebuffer30 = true
alias30 = "BR_MirrorReflectionDiffusedPass"
shader32 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input32 = true
filter_linear32 = true
scale_type32 = absolute
scale_x32 = 128
scale_y32 = 128
float_framebuffer32 = true
alias32 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader31 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input31 = true
filter_linear31 = true
scale_type31 = absolute
scale_x31 = 12
scale_y31 = 12
float_framebuffer31 = true
alias31 = "BR_MirrorFullscreenGlowPass"
shader33 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
scale_x33 = 12
scale_y33 = 12
float_framebuffer33 = true
alias33 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader32 = ../../shaders/base/reflection.slang
scale_type32 = viewport
alias32 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader33 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear33 = true
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "BR_LayersUnderCRTPass"
shader34 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear34 = true
shader34 = ../../shaders/base/reflection.slang
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "BR_LayersOverCRTPass"
alias34 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader35 = ../../shaders/base/combine-passes.slang
@ -444,9 +445,11 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -204,81 +204,82 @@ float_framebuffer26 = true
alias26 = "CRTPass"
shader27 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input27 = true
scale_type27 = viewport
float_framebuffer27 = true
alias27 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader28 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "BR_LayersUnderCRTPass"
shader29 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader28 = ../../shaders/base/linearize-crt.slang
mipmap_input28 = true
filter_linear28 = true
scale_type28 = absolute
// scale_x28 = 480
// scale_y28 = 270
// scale_x28 = 960
// scale_y28 = 540
scale_x28 = 800
scale_y28 = 600
float_framebuffer28 = true
alias28 = "BR_MirrorLowResPass"
shader30 = ../../shaders/base/linearize-crt.slang
mipmap_input30 = true
filter_linear30 = true
scale_type30 = absolute
// scale_x30 = 480
// scale_y30 = 270
// scale_x30 = 960
// scale_y30 = 540
scale_x30 = 800
scale_y30 = 600
float_framebuffer30 = true
alias30 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader29 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input29 = true
filter_linear29 = true
float_framebuffer29 = true
shader31 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input31 = true
filter_linear31 = true
float_framebuffer31 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader30 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear30 = true
float_framebuffer30 = true
alias30 = "BR_MirrorBlurredPass"
shader32 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear32 = true
float_framebuffer32 = true
alias32 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader31 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input31 = true
filter_linear31 = true
scale_type31 = absolute
scale_x31 = 128
scale_y31 = 128
float_framebuffer31 = true
alias31 = "BR_MirrorReflectionDiffusedPass"
shader33 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
scale_x33 = 128
scale_y33 = 128
float_framebuffer33 = true
alias33 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader32 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input32 = true
filter_linear32 = true
scale_type32 = absolute
scale_x32 = 12
scale_y32 = 12
float_framebuffer32 = true
alias32 = "BR_MirrorFullscreenGlowPass"
shader34 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input34 = true
filter_linear34 = true
scale_type34 = absolute
scale_x34 = 12
scale_y34 = 12
float_framebuffer34 = true
alias34 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader33 = ../../shaders/base/reflection.slang
scale_type33 = viewport
alias33 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader34 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear34 = true
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "BR_LayersUnderCRTPass"
shader35 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear35 = true
shader35 = ../../shaders/base/reflection.slang
scale_type35 = viewport
float_framebuffer35 = true
alias35 = "BR_LayersOverCRTPass"
alias35 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader36 = ../../shaders/base/combine-passes.slang
@ -376,7 +377,7 @@ TopLayerImage_mipmap = 1
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -117,81 +117,82 @@ alias18 = "CRTPass"
g_gamma_out = 2.45
shader19 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input19 = true
scale_type19 = viewport
float_framebuffer19 = true
alias19 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader20 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear20 = true
scale_type20 = viewport
float_framebuffer20 = true
alias20 = "BR_LayersUnderCRTPass"
shader21 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader20 = ../../shaders/base/linearize-crt.slang
mipmap_input20 = true
filter_linear20 = true
scale_type20 = absolute
// scale_x20 = 480
// scale_y20 = 270
// scale_x20 = 960
// scale_y20 = 540
scale_x20 = 800
scale_y20 = 600
float_framebuffer20 = true
alias20 = "BR_MirrorLowResPass"
shader22 = ../../shaders/base/linearize-crt.slang
mipmap_input22 = true
filter_linear22 = true
scale_type22 = absolute
// scale_x22 = 480
// scale_y22 = 270
// scale_x22 = 960
// scale_y22 = 540
scale_x22 = 800
scale_y22 = 600
float_framebuffer22 = true
alias22 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader21 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input21 = true
filter_linear21 = true
float_framebuffer21 = true
shader23 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input23 = true
filter_linear23 = true
float_framebuffer23 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader22 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear22 = true
float_framebuffer22 = true
alias22 = "BR_MirrorBlurredPass"
shader24 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear24 = true
float_framebuffer24 = true
alias24 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader23 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input23 = true
filter_linear23 = true
scale_type23 = absolute
scale_x23 = 128
scale_y23 = 128
float_framebuffer23 = true
alias23 = "BR_MirrorReflectionDiffusedPass"
shader25 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input25 = true
filter_linear25 = true
scale_type25 = absolute
scale_x25 = 128
scale_y25 = 128
float_framebuffer25 = true
alias25 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader24 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input24 = true
filter_linear24 = true
scale_type24 = absolute
scale_x24 = 12
scale_y24 = 12
float_framebuffer24 = true
alias24 = "BR_MirrorFullscreenGlowPass"
shader26 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input26 = true
filter_linear26 = true
scale_type26 = absolute
scale_x26 = 12
scale_y26 = 12
float_framebuffer26 = true
alias26 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader25 = ../../shaders/base/reflection.slang
scale_type25 = viewport
alias25 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader26 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear26 = true
scale_type26 = viewport
float_framebuffer26 = true
alias26 = "BR_LayersUnderCRTPass"
shader27 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear27 = true
shader27 = ../../shaders/base/reflection.slang
scale_type27 = viewport
float_framebuffer27 = true
alias27 = "BR_LayersOverCRTPass"
alias27 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader28 = ../../shaders/base/combine-passes.slang

View file

@ -137,81 +137,82 @@ g_sat = 0.15
g_gamma_out = 2.45
shader21 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader22 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear22 = true
scale_type22 = viewport
float_framebuffer22 = true
alias22 = "BR_LayersUnderCRTPass"
shader23 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear23 = true
scale_type23 = viewport
float_framebuffer23 = true
alias23 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader22 = ../../shaders/base/linearize-crt.slang
mipmap_input22 = true
filter_linear22 = true
scale_type22 = absolute
// scale_x22 = 480
// scale_y22 = 270
// scale_x22 = 960
// scale_y22 = 540
scale_x22 = 800
scale_y22 = 600
float_framebuffer22 = true
alias22 = "BR_MirrorLowResPass"
shader24 = ../../shaders/base/linearize-crt.slang
mipmap_input24 = true
filter_linear24 = true
scale_type24 = absolute
// scale_x24 = 480
// scale_y24 = 270
// scale_x24 = 960
// scale_y24 = 540
scale_x24 = 800
scale_y24 = 600
float_framebuffer24 = true
alias24 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader23 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input23 = true
filter_linear23 = true
float_framebuffer23 = true
shader25 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input25 = true
filter_linear25 = true
float_framebuffer25 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader24 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear24 = true
float_framebuffer24 = true
alias24 = "BR_MirrorBlurredPass"
shader26 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear26 = true
float_framebuffer26 = true
alias26 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader25 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input25 = true
filter_linear25 = true
scale_type25 = absolute
scale_x25 = 128
scale_y25 = 128
float_framebuffer25 = true
alias25 = "BR_MirrorReflectionDiffusedPass"
shader27 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input27 = true
filter_linear27 = true
scale_type27 = absolute
scale_x27 = 128
scale_y27 = 128
float_framebuffer27 = true
alias27 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader26 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input26 = true
filter_linear26 = true
scale_type26 = absolute
scale_x26 = 12
scale_y26 = 12
float_framebuffer26 = true
alias26 = "BR_MirrorFullscreenGlowPass"
shader28 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input28 = true
filter_linear28 = true
scale_type28 = absolute
scale_x28 = 12
scale_y28 = 12
float_framebuffer28 = true
alias28 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader27 = ../../shaders/base/reflection.slang
scale_type27 = viewport
alias27 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader28 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "BR_LayersUnderCRTPass"
shader29 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear29 = true
shader29 = ../../shaders/base/reflection.slang
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "BR_LayersOverCRTPass"
alias29 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader30 = ../../shaders/base/combine-passes.slang
@ -311,3 +312,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -111,81 +111,82 @@ g_sat = 0.15
g_gamma_out = 2.45
shader17 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader18 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear18 = true
scale_type18 = viewport
float_framebuffer18 = true
alias18 = "BR_LayersUnderCRTPass"
shader19 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear19 = true
scale_type19 = viewport
float_framebuffer19 = true
alias19 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader18 = ../../shaders/base/linearize-crt.slang
mipmap_input18 = true
filter_linear18 = true
scale_type18 = absolute
// scale_x18 = 480
// scale_y18 = 270
// scale_x18 = 960
// scale_y18 = 540
scale_x18 = 800
scale_y18 = 600
float_framebuffer18 = true
alias18 = "BR_MirrorLowResPass"
shader20 = ../../shaders/base/linearize-crt.slang
mipmap_input20 = true
filter_linear20 = true
scale_type20 = absolute
// scale_x20 = 480
// scale_y20 = 270
// scale_x20 = 960
// scale_y20 = 540
scale_x20 = 800
scale_y20 = 600
float_framebuffer20 = true
alias20 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader19 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input19 = true
filter_linear19 = true
float_framebuffer19 = true
shader21 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input21 = true
filter_linear21 = true
float_framebuffer21 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader20 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear20 = true
float_framebuffer20 = true
alias20 = "BR_MirrorBlurredPass"
shader22 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear22 = true
float_framebuffer22 = true
alias22 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader21 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input21 = true
filter_linear21 = true
scale_type21 = absolute
scale_x21 = 128
scale_y21 = 128
float_framebuffer21 = true
alias21 = "BR_MirrorReflectionDiffusedPass"
shader23 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input23 = true
filter_linear23 = true
scale_type23 = absolute
scale_x23 = 128
scale_y23 = 128
float_framebuffer23 = true
alias23 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader22 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input22 = true
filter_linear22 = true
scale_type22 = absolute
scale_x22 = 12
scale_y22 = 12
float_framebuffer22 = true
alias22 = "BR_MirrorFullscreenGlowPass"
shader24 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input24 = true
filter_linear24 = true
scale_type24 = absolute
scale_x24 = 12
scale_y24 = 12
float_framebuffer24 = true
alias24 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader23 = ../../shaders/base/reflection.slang
scale_type23 = viewport
alias23 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader24 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear24 = true
scale_type24 = viewport
float_framebuffer24 = true
alias24 = "BR_LayersUnderCRTPass"
shader25 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear25 = true
shader25 = ../../shaders/base/reflection.slang
scale_type25 = viewport
float_framebuffer25 = true
alias25 = "BR_LayersOverCRTPass"
alias25 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader26 = ../../shaders/base/combine-passes.slang

View file

@ -164,7 +164,7 @@ scale_y23 = 480.0
float_framebuffer23 = true
alias23 = BloomPass
shader24 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.slang
shader24 = ../../shaders/guest/hsm-crt-guest-advanced.slang
filter_linear24 = true
scale_type24 = viewport
scale_x24 = 1.0
@ -180,81 +180,82 @@ float_framebuffer25 = true
alias25 = "CRTPass"
shader26 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input26 = true
scale_type26 = viewport
float_framebuffer26 = true
alias26 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader27 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear27 = true
scale_type27 = viewport
float_framebuffer27 = true
alias27 = "BR_LayersUnderCRTPass"
shader28 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader27 = ../../shaders/base/linearize-crt.slang
mipmap_input27 = true
filter_linear27 = true
scale_type27 = absolute
// scale_x27 = 480
// scale_y27 = 270
// scale_x27 = 960
// scale_y27 = 540
scale_x27 = 800
scale_y27 = 600
float_framebuffer27 = true
alias27 = "BR_MirrorLowResPass"
shader29 = ../../shaders/base/linearize-crt.slang
mipmap_input29 = true
filter_linear29 = true
scale_type29 = absolute
// scale_x29 = 480
// scale_y29 = 270
// scale_x29 = 960
// scale_y29 = 540
scale_x29 = 800
scale_y29 = 600
float_framebuffer29 = true
alias29 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader28 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input28 = true
filter_linear28 = true
float_framebuffer28 = true
shader30 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input30 = true
filter_linear30 = true
float_framebuffer30 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader29 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear29 = true
float_framebuffer29 = true
alias29 = "BR_MirrorBlurredPass"
shader31 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear31 = true
float_framebuffer31 = true
alias31 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader30 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input30 = true
filter_linear30 = true
scale_type30 = absolute
scale_x30 = 128
scale_y30 = 128
float_framebuffer30 = true
alias30 = "BR_MirrorReflectionDiffusedPass"
shader32 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input32 = true
filter_linear32 = true
scale_type32 = absolute
scale_x32 = 128
scale_y32 = 128
float_framebuffer32 = true
alias32 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader31 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input31 = true
filter_linear31 = true
scale_type31 = absolute
scale_x31 = 12
scale_y31 = 12
float_framebuffer31 = true
alias31 = "BR_MirrorFullscreenGlowPass"
shader33 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input33 = true
filter_linear33 = true
scale_type33 = absolute
scale_x33 = 12
scale_y33 = 12
float_framebuffer33 = true
alias33 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader32 = ../../shaders/base/reflection.slang
scale_type32 = viewport
alias32 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader33 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear33 = true
scale_type33 = viewport
float_framebuffer33 = true
alias33 = "BR_LayersUnderCRTPass"
shader34 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear34 = true
shader34 = ../../shaders/base/reflection.slang
scale_type34 = viewport
float_framebuffer34 = true
alias34 = "BR_LayersOverCRTPass"
alias34 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader35 = ../../shaders/base/combine-passes.slang
@ -444,3 +445,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -145,81 +145,82 @@ float_framebuffer20 = true
alias20 = "CRTPass"
shader21 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader22 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear22 = true
scale_type22 = viewport
float_framebuffer22 = true
alias22 = "BR_LayersUnderCRTPass"
shader23 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear23 = true
scale_type23 = viewport
float_framebuffer23 = true
alias23 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader22 = ../../shaders/base/linearize-crt.slang
mipmap_input22 = true
filter_linear22 = true
scale_type22 = absolute
// scale_x22 = 480
// scale_y22 = 270
// scale_x22 = 960
// scale_y22 = 540
scale_x22 = 800
scale_y22 = 600
float_framebuffer22 = true
alias22 = "BR_MirrorLowResPass"
shader24 = ../../shaders/base/linearize-crt.slang
mipmap_input24 = true
filter_linear24 = true
scale_type24 = absolute
// scale_x24 = 480
// scale_y24 = 270
// scale_x24 = 960
// scale_y24 = 540
scale_x24 = 800
scale_y24 = 600
float_framebuffer24 = true
alias24 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader23 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input23 = true
filter_linear23 = true
float_framebuffer23 = true
shader25 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input25 = true
filter_linear25 = true
float_framebuffer25 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader24 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear24 = true
float_framebuffer24 = true
alias24 = "BR_MirrorBlurredPass"
shader26 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear26 = true
float_framebuffer26 = true
alias26 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader25 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input25 = true
filter_linear25 = true
scale_type25 = absolute
scale_x25 = 128
scale_y25 = 128
float_framebuffer25 = true
alias25 = "BR_MirrorReflectionDiffusedPass"
shader27 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input27 = true
filter_linear27 = true
scale_type27 = absolute
scale_x27 = 128
scale_y27 = 128
float_framebuffer27 = true
alias27 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader26 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input26 = true
filter_linear26 = true
scale_type26 = absolute
scale_x26 = 12
scale_y26 = 12
float_framebuffer26 = true
alias26 = "BR_MirrorFullscreenGlowPass"
shader28 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input28 = true
filter_linear28 = true
scale_type28 = absolute
scale_x28 = 12
scale_y28 = 12
float_framebuffer28 = true
alias28 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader27 = ../../shaders/base/reflection.slang
scale_type27 = viewport
alias27 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader28 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear28 = true
scale_type28 = viewport
float_framebuffer28 = true
alias28 = "BR_LayersUnderCRTPass"
shader29 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear29 = true
shader29 = ../../shaders/base/reflection.slang
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "BR_LayersOverCRTPass"
alias29 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader30 = ../../shaders/base/combine-passes.slang

View file

@ -106,81 +106,82 @@ float_framebuffer16 = "true"
alias16 = "CRTPass"
shader17 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader18 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear18 = true
scale_type18 = viewport
float_framebuffer18 = true
alias18 = "BR_LayersUnderCRTPass"
shader19 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear19 = true
scale_type19 = viewport
float_framebuffer19 = true
alias19 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader18 = ../../shaders/base/linearize-crt.slang
mipmap_input18 = true
filter_linear18 = true
scale_type18 = absolute
// scale_x18 = 480
// scale_y18 = 270
// scale_x18 = 960
// scale_y18 = 540
scale_x18 = 800
scale_y18 = 600
float_framebuffer18 = true
alias18 = "BR_MirrorLowResPass"
shader20 = ../../shaders/base/linearize-crt.slang
mipmap_input20 = true
filter_linear20 = true
scale_type20 = absolute
// scale_x20 = 480
// scale_y20 = 270
// scale_x20 = 960
// scale_y20 = 540
scale_x20 = 800
scale_y20 = 600
float_framebuffer20 = true
alias20 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader19 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input19 = true
filter_linear19 = true
float_framebuffer19 = true
shader21 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input21 = true
filter_linear21 = true
float_framebuffer21 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader20 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear20 = true
float_framebuffer20 = true
alias20 = "BR_MirrorBlurredPass"
shader22 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear22 = true
float_framebuffer22 = true
alias22 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader21 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input21 = true
filter_linear21 = true
scale_type21 = absolute
scale_x21 = 128
scale_y21 = 128
float_framebuffer21 = true
alias21 = "BR_MirrorReflectionDiffusedPass"
shader23 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input23 = true
filter_linear23 = true
scale_type23 = absolute
scale_x23 = 128
scale_y23 = 128
float_framebuffer23 = true
alias23 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader22 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input22 = true
filter_linear22 = true
scale_type22 = absolute
scale_x22 = 12
scale_y22 = 12
float_framebuffer22 = true
alias22 = "BR_MirrorFullscreenGlowPass"
shader24 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input24 = true
filter_linear24 = true
scale_type24 = absolute
scale_x24 = 12
scale_y24 = 12
float_framebuffer24 = true
alias24 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader23 = ../../shaders/base/reflection.slang
scale_type23 = viewport
alias23 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader24 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear24 = true
scale_type24 = viewport
float_framebuffer24 = true
alias24 = "BR_LayersUnderCRTPass"
shader25 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear25 = true
shader25 = ../../shaders/base/reflection.slang
scale_type25 = viewport
float_framebuffer25 = true
alias25 = "BR_LayersOverCRTPass"
alias25 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader26 = ../../shaders/base/combine-passes.slang

View file

@ -147,81 +147,82 @@ float_framebuffer21 = "true"
alias21 = "CRTPass"
shader22 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input22 = true
scale_type22 = viewport
float_framebuffer22 = true
alias22 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader23 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear23 = true
scale_type23 = viewport
float_framebuffer23 = true
alias23 = "BR_LayersUnderCRTPass"
shader24 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear24 = true
scale_type24 = viewport
float_framebuffer24 = true
alias24 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader23 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input23 = true
filter_linear23 = true
scale_type23 = absolute
// scale_x23 = 480
// scale_y23 = 270
// scale_x23 = 960
// scale_y23 = 540
scale_x23 = 800
scale_y23 = 600
float_framebuffer23 = true
alias23 = "BR_MirrorLowResPass"
shader25 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input25 = true
filter_linear25 = true
scale_type25 = absolute
// scale_x25 = 480
// scale_y25 = 270
// scale_x25 = 960
// scale_y25 = 540
scale_x25 = 800
scale_y25 = 600
float_framebuffer25 = true
alias25 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader24 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input24 = true
filter_linear24 = true
float_framebuffer24 = true
shader26 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input26 = true
filter_linear26 = true
float_framebuffer26 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader25 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear25 = true
float_framebuffer25 = true
alias25 = "BR_MirrorBlurredPass"
shader27 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear27 = true
float_framebuffer27 = true
alias27 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader26 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input26 = true
filter_linear26 = true
scale_type26 = absolute
scale_x26 = 128
scale_y26 = 128
float_framebuffer26 = true
alias26 = "BR_MirrorReflectionDiffusedPass"
shader28 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input28 = true
filter_linear28 = true
scale_type28 = absolute
scale_x28 = 128
scale_y28 = 128
float_framebuffer28 = true
alias28 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader27 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input27 = true
filter_linear27 = true
scale_type27 = absolute
scale_x27 = 12
scale_y27 = 12
float_framebuffer27 = true
alias27 = "BR_MirrorFullscreenGlowPass"
shader29 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input29 = true
filter_linear29 = true
scale_type29 = absolute
scale_x29 = 12
scale_y29 = 12
float_framebuffer29 = true
alias29 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader28 = ../../shaders/base/reflection.slang
scale_type28 = viewport
alias28 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader29 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear29 = true
scale_type29 = viewport
float_framebuffer29 = true
alias29 = "BR_LayersUnderCRTPass"
shader30 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear30 = true
shader30 = ../../shaders/base/reflection.slang
scale_type30 = viewport
float_framebuffer30 = true
alias30 = "BR_LayersOverCRTPass"
alias30 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader31 = ../../shaders/base/combine-passes-hdr.slang
@ -329,3 +330,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -121,81 +121,82 @@ float_framebuffer17 = "true"
alias17 = "CRTPass"
shader18 = ../../shaders/base/post-crt-prep-image-layers.slang
mipmap_input18 = true
scale_type18 = viewport
float_framebuffer18 = true
alias18 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader19 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear19 = true
scale_type19 = viewport
float_framebuffer19 = true
alias19 = "BR_LayersUnderCRTPass"
shader20 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear20 = true
scale_type20 = viewport
float_framebuffer20 = true
alias20 = "BR_LayersOverCRTPass"
// Reduce Resolution ----------------------------------------------------------------
// Reduce the resolution to a small static size regardless of final resolution
// Allows consistent look and faster at different final resolutions for blur
// Mipmap option allows downscaling without artifacts
shader19 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input19 = true
filter_linear19 = true
scale_type19 = absolute
// scale_x19 = 480
// scale_y19 = 270
// scale_x19 = 960
// scale_y19 = 540
scale_x19 = 800
scale_y19 = 600
float_framebuffer19 = true
alias19 = "BR_MirrorLowResPass"
shader21 = ../../shaders/base/linearize-crt-hdr.slang
mipmap_input21 = true
filter_linear21 = true
scale_type21 = absolute
// scale_x21 = 480
// scale_y21 = 270
// scale_x21 = 960
// scale_y21 = 540
scale_x21 = 800
scale_y21 = 600
float_framebuffer21 = true
alias21 = "BR_MirrorLowResPass"
// Add Blur for the Reflection (Horizontal) ----------------------------------------------------------------
shader20 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input20 = true
filter_linear20 = true
float_framebuffer20 = true
shader22 = ../../shaders/base/blur-outside-screen-horiz.slang
mipmap_input22 = true
filter_linear22 = true
float_framebuffer22 = true
// Add Blur for the Reflection (Vertical) ----------------------------------------------------------------
shader21 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear21 = true
float_framebuffer21 = true
alias21 = "BR_MirrorBlurredPass"
shader23 = ../../shaders/base/blur-outside-screen-vert.slang
filter_linear23 = true
float_framebuffer23 = true
alias23 = "BR_MirrorBlurredPass"
// Reduce resolution ----------------------------------------------------------------
// Reduced to a very small amount so we can create a blur which will create a glow from the screen
// Mipmap option allows smoother downscaling
shader22 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input22 = true
filter_linear22 = true
scale_type22 = absolute
scale_x22 = 128
scale_y22 = 128
float_framebuffer22 = true
alias22 = "BR_MirrorReflectionDiffusedPass"
shader24 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input24 = true
filter_linear24 = true
scale_type24 = absolute
scale_x24 = 128
scale_y24 = 128
float_framebuffer24 = true
alias24 = "BR_MirrorReflectionDiffusedPass"
// Add Diffused glow all around the screen ----------------------------------------------------------------
// Blurred so much that it's non directional
// Mipmap option allows downscaling without artifacts
shader23 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input23 = true
filter_linear23 = true
scale_type23 = absolute
scale_x23 = 12
scale_y23 = 12
float_framebuffer23 = true
alias23 = "BR_MirrorFullscreenGlowPass"
shader25 = ../../../../blurs/shaders/royale/blur9x9.slang
mipmap_input25 = true
filter_linear25 = true
scale_type25 = absolute
scale_x25 = 12
scale_y25 = 12
float_framebuffer25 = true
alias25 = "BR_MirrorFullscreenGlowPass"
// Bezel Reflection ----------------------------------------------------------------
shader24 = ../../shaders/base/reflection.slang
scale_type24 = viewport
alias24 = "ReflectionPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader25 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear25 = true
scale_type25 = viewport
float_framebuffer25 = true
alias25 = "BR_LayersUnderCRTPass"
shader26 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear26 = true
shader26 = ../../shaders/base/reflection.slang
scale_type26 = viewport
float_framebuffer26 = true
alias26 = "BR_LayersOverCRTPass"
alias26 = "ReflectionPass"
// Combine Passes ----------------------------------------------------------------
shader27 = ../../shaders/base/combine-passes-hdr.slang

View file

@ -1,4 +1,4 @@
shaders = 46
shaders = 44
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,201 +122,178 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader25 = ../../shaders/base/stock.slang
alias25 = "PrePass0"
shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
float_framebuffer26 = true
scale_type_x26 = source
scale_type_y26 = source
scale_x26 = 4.0
scale_y26 = 1.0
frame_count_mod26 = 2
alias26 = NPass1
shader27 = ../../shaders/base/stock.slang
alias27 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer27 = true
filter_linear27 = true
scale_type27 = source
scale_x27 = 0.5
scale_y27 = 1.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear28 = false
float_framebuffer28 = true
scale_type_x28 = source
scale_type_y28 = source
scale_x28 = 4.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
frame_count_mod28 = 2
alias28 = NPass1
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer29 = true
shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 0.5
scale_x29 = 1.0
scale_y29 = 1.0
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader30 = ../../shaders/base/stock.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
alias30 = "PrePass"
mipmap_input30 = true
shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader31 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader32 = ../../shaders/base/stock.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
alias32 = "PrePass"
mipmap_input32 = true
shader33 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
mipmap_input33 = true
alias33 = "AvgLumPass"
scale31 = 1.0
mipmap_input31 = true
alias31 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
float_framebuffer32 = true
alias32 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear33 = true
scale_type_x33 = viewport
scale_x33 = 1.0
scale_type_y33 = source
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = Pass1
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "LinearizePass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear35 = true
scale_type_x35 = viewport
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = absolute
scale_y35 = 480.0
float_framebuffer35 = true
alias35 = Pass1
alias35 = "GlowPass"
shader36 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
alias37 = "GlowPass"
alias37 = "BloomPass"
shader38 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader38 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-bloom_vertical.slang
shader39 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "BloomPass"
alias39 = "CRTPass"
shader40 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear40 = true
shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input40 = true
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
shader41 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
alias41 = "CRTPass"
shader42 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "PostCRTPass"
alias40 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader43 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear43 = true
scale_type43 = viewport
float_framebuffer43 = true
alias43 = "BR_LayersUnderCRTPass"
shader41 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear41 = true
scale_type41 = viewport
float_framebuffer41 = true
alias41 = "BR_LayersUnderCRTPass"
shader44 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear44 = true
scale_type44 = viewport
float_framebuffer44 = true
alias44 = "BR_LayersOverCRTPass"
shader42 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear42 = true
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader45 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type45 = viewport
alias45 = "CombinePass"
shader43 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type43 = viewport
alias43 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -372,9 +388,11 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 41
shaders = 39
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,166 +122,143 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader27 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader26 = ../../shaders/base/stock.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
alias26 = "PrePass"
mipmap_input26 = true
shader27 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
shader28 = ../../shaders/base/stock.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
alias28 = "PrePass"
mipmap_input28 = true
shader29 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
mipmap_input29 = true
alias29 = "AvgLumPass"
scale27 = 1.0
mipmap_input27 = true
alias27 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader30 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear30 = true
scale_type30 = source
scale30 = 1.0
float_framebuffer30 = true
alias30 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
float_framebuffer28 = true
alias28 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
float_framebuffer30 = true
alias30 = "GlowPass"
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 800.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 600.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = absolute
scale_y32 = 600.0
scale_type_x32 = source
scale_x32 = 1.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
alias32 = "GlowPass"
alias32 = "BloomPass"
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear34 = true
scale_type_x34 = source
scale_type34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "BloomPass"
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias35 = "PostCRTPass"
// Bezel Generation & Composite of Image Layers ----------------------------------------------------------------
shader38 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear38 = true
scale_type38 = viewport
float_framebuffer38 = true
alias38 = "BR_LayersUnderCRTPass"
shader36 = ../../shaders/base/bezel-images-under-crt.slang
filter_linear36 = true
scale_type36 = viewport
float_framebuffer36 = true
alias36 = "BR_LayersUnderCRTPass"
shader39 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear39 = true
scale_type39 = viewport
float_framebuffer39 = true
alias39 = "BR_LayersOverCRTPass"
shader37 = ../../shaders/base/bezel-images-over-crt.slang
filter_linear37 = true
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "BR_LayersOverCRTPass"
// Combine Passes ----------------------------------------------------------------
shader40 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type40 = viewport
alias40 = "CombinePass"
shader38 = ../../shaders/base/combine-passes-no-reflect.slang
scale_type38 = viewport
alias38 = "CombinePass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -335,7 +351,7 @@ TopLayerImage_mipmap = 1
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -117,6 +117,7 @@ alias18 = "CRTPass"
g_gamma_out = 2.45
shader19 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input19 = true
scale_type19 = viewport
float_framebuffer19 = true
alias19 = "PostCRTPass"

View file

@ -137,6 +137,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"
@ -253,3 +254,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -111,6 +111,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"

View file

@ -180,6 +180,7 @@ float_framebuffer25 = true
alias25 = "CRTPass"
shader26 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input26 = true
scale_type26 = viewport
float_framebuffer26 = true
alias26 = "PostCRTPass"
@ -296,3 +297,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -145,6 +145,7 @@ float_framebuffer20 = true
alias20 = "CRTPass"
shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"

View file

@ -106,6 +106,7 @@ float_framebuffer16 = "true"
alias16 = "CRTPass"
shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"

View file

@ -147,6 +147,7 @@ float_framebuffer21 = "true"
alias21 = "CRTPass"
shader22 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input22 = true
scale_type22 = viewport
float_framebuffer22 = true
alias22 = "PostCRTPass"
@ -271,3 +272,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -121,6 +121,7 @@ float_framebuffer17 = "true"
alias17 = "CRTPass"
shader18 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input18 = true
scale_type18 = viewport
float_framebuffer18 = true
alias18 = "PostCRTPass"

View file

@ -1,4 +1,4 @@
shaders = 44
shaders = 42
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,187 +122,164 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader25 = ../../shaders/base/stock.slang
alias25 = "PrePass0"
shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
float_framebuffer26 = true
scale_type_x26 = source
scale_type_y26 = source
scale_x26 = 4.0
scale_y26 = 1.0
frame_count_mod26 = 2
alias26 = NPass1
shader27 = ../../shaders/base/stock.slang
alias27 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer27 = true
filter_linear27 = true
scale_type27 = source
scale_x27 = 0.5
scale_y27 = 1.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear28 = false
float_framebuffer28 = true
scale_type_x28 = source
scale_type_y28 = source
scale_x28 = 4.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
frame_count_mod28 = 2
alias28 = NPass1
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer29 = true
shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 0.5
scale_x29 = 1.0
scale_y29 = 1.0
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader30 = ../../shaders/base/stock.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
alias30 = "PrePass"
mipmap_input30 = true
shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader31 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader32 = ../../shaders/base/stock.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
alias32 = "PrePass"
mipmap_input32 = true
shader33 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
mipmap_input33 = true
alias33 = "AvgLumPass"
scale31 = 1.0
mipmap_input31 = true
alias31 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
float_framebuffer32 = true
alias32 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear33 = true
scale_type_x33 = viewport
scale_x33 = 1.0
scale_type_y33 = source
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = Pass1
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "LinearizePass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear35 = true
scale_type_x35 = viewport
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = absolute
scale_y35 = 480.0
float_framebuffer35 = true
alias35 = Pass1
alias35 = "GlowPass"
shader36 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
alias37 = "GlowPass"
alias37 = "BloomPass"
shader38 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader38 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-bloom_vertical.slang
shader39 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = "BloomPass"
alias39 = "CRTPass"
shader40 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang
filter_linear40 = true
shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input40 = true
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
shader41 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
alias41 = "CRTPass"
shader42 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "PostCRTPass"
alias40 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader43 = ../../shaders/base/output-sdr.slang
scale_type43 = viewport
alias43 = "OutputPass"
shader41 = ../../shaders/base/output-sdr.slang
scale_type41 = viewport
alias41 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -358,9 +374,11 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 39
shaders = 37
shader0 = ../../shaders/base/add-params-no-reflect.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,152 +122,129 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader27 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader26 = ../../shaders/base/stock.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
alias26 = "PrePass"
mipmap_input26 = true
shader27 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
shader28 = ../../shaders/base/stock.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
alias28 = "PrePass"
mipmap_input28 = true
shader29 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
mipmap_input29 = true
alias29 = "AvgLumPass"
scale27 = 1.0
mipmap_input27 = true
alias27 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader30 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear30 = true
scale_type30 = source
scale30 = 1.0
float_framebuffer30 = true
alias30 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
float_framebuffer28 = true
alias28 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
float_framebuffer30 = true
alias30 = "GlowPass"
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 800.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 600.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = absolute
scale_y32 = 600.0
scale_type_x32 = source
scale_x32 = 1.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
alias32 = "GlowPass"
alias32 = "BloomPass"
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear34 = true
scale_type_x34 = source
scale_type34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "BloomPass"
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias35 = "PostCRTPass"
// Combine Passes ----------------------------------------------------------------
shader38 = ../../shaders/base/output-sdr.slang
scale_type38 = viewport
alias38 = "OutputPass"
shader36 = ../../shaders/base/output-sdr.slang
scale_type36 = viewport
alias36 = "OutputPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;"
@ -321,7 +337,7 @@ TopLayerImage_mipmap = 1
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -117,6 +117,7 @@ alias18 = "CRTPass"
g_gamma_out = 2.45
shader19 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input19 = true
scale_type19 = viewport
float_framebuffer19 = true
alias19 = "PostCRTPass"

View file

@ -137,6 +137,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"
@ -239,3 +240,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -111,6 +111,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"

View file

@ -180,6 +180,7 @@ float_framebuffer25 = true
alias25 = "CRTPass"
shader26 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input26 = true
scale_type26 = viewport
float_framebuffer26 = true
alias26 = "PostCRTPass"
@ -282,3 +283,6 @@ TopLayerImage_mipmap = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -145,6 +145,7 @@ float_framebuffer20 = true
alias20 = "CRTPass"
shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input21 = true
scale_type21 = viewport
float_framebuffer21 = true
alias21 = "PostCRTPass"

View file

@ -106,6 +106,7 @@ float_framebuffer16 = "true"
alias16 = "CRTPass"
shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"

View file

@ -147,6 +147,7 @@ float_framebuffer21 = "true"
alias21 = "CRTPass"
shader22 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input22 = true
scale_type22 = viewport
float_framebuffer22 = true
alias22 = "PostCRTPass"
@ -257,3 +258,6 @@ HSM_REFLECT_GLOBAL_AMOUNT = "40.000000"
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -121,6 +121,7 @@ float_framebuffer17 = "true"
alias17 = "CRTPass"
shader18 = ../../shaders/base/post-crt-prep-no-reflect.slang
mipmap_input18 = true
scale_type18 = viewport
float_framebuffer18 = true
alias18 = "PostCRTPass"

View file

@ -1,4 +1,4 @@
shaders = 43
shaders = 41
shader0 = ../../shaders/base/add-params-potato.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,182 +122,159 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader25 = ../../shaders/base/stock.slang
alias25 = "PrePass0"
shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
float_framebuffer26 = true
scale_type_x26 = source
scale_type_y26 = source
scale_x26 = 4.0
scale_y26 = 1.0
frame_count_mod26 = 2
alias26 = NPass1
shader27 = ../../shaders/base/stock.slang
alias27 = "PrePass0"
shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer27 = true
filter_linear27 = true
scale_type27 = source
scale_x27 = 0.5
scale_y27 = 1.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang
filter_linear28 = false
float_framebuffer28 = true
scale_type_x28 = source
scale_type_y28 = source
scale_x28 = 4.0
shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
frame_count_mod28 = 2
alias28 = NPass1
shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang
float_framebuffer29 = true
shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear29 = true
scale_type29 = source
scale_x29 = 0.5
scale_x29 = 1.0
scale_y29 = 1.0
shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang
shader30 = ../../shaders/base/stock.slang
filter_linear30 = true
scale_type30 = source
scale_x30 = 1.0
scale_y30 = 1.0
alias30 = "PrePass"
mipmap_input30 = true
shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader31 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear31 = true
scale_type31 = source
scale_x31 = 1.0
scale_y31 = 1.0
shader32 = ../../shaders/base/stock.slang
filter_linear32 = true
scale_type32 = source
scale_x32 = 1.0
scale_y32 = 1.0
alias32 = "PrePass"
mipmap_input32 = true
shader33 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear33 = true
scale_type33 = source
scale33 = 1.0
mipmap_input33 = true
alias33 = "AvgLumPass"
scale31 = 1.0
mipmap_input31 = true
alias31 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang
shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear32 = true
scale_type32 = source
scale32 = 1.0
float_framebuffer32 = true
alias32 = "LinearizePass"
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
filter_linear33 = true
scale_type_x33 = viewport
scale_x33 = 1.0
scale_type_y33 = source
scale_y33 = 1.0
float_framebuffer33 = true
alias33 = Pass1
shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear34 = true
scale_type34 = source
scale34 = 1.0
scale_type_x34 = absolute
scale_x34 = 640.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = "LinearizePass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang
shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear35 = true
scale_type_x35 = viewport
scale_x35 = 1.0
scale_type_y35 = source
scale_y35 = 1.0
scale_type_x35 = absolute
scale_x35 = 640.0
scale_type_y35 = absolute
scale_y35 = 480.0
float_framebuffer35 = true
alias35 = Pass1
alias35 = GlowPass
shader36 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear36 = true
scale_type_x36 = absolute
scale_x36 = 640.0
scale_type_y36 = source
scale_y36 = 1.0
scale_type_y36 = absolute
scale_y36 = 480.0
float_framebuffer36 = true
shader37 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader37 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear37 = true
scale_type_x37 = absolute
scale_x37 = 640.0
scale_type_y37 = absolute
scale_y37 = 480.0
float_framebuffer37 = true
alias37 = GlowPass
alias37 = BloomPass
shader38 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader38 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang
filter_linear38 = true
scale_type_x38 = absolute
scale_x38 = 640.0
scale_type_y38 = absolute
scale_y38 = 480.0
scale_type38 = viewport
scale_x38 = 1.0
scale_y38 = 1.0
float_framebuffer38 = true
shader39 = ../../shaders/guest/hsm-bloom_vertical.slang
shader39 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear39 = true
scale_type_x39 = absolute
scale_x39 = 640.0
scale_type_y39 = absolute
scale_y39 = 480.0
scale_type39 = viewport
scale_x39 = 1.0
scale_y39 = 1.0
float_framebuffer39 = true
alias39 = BloomPass
alias39 = "CRTPass"
shader40 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-potato.slang
filter_linear40 = true
shader40 = ../../shaders/base/post-crt-prep-potato.slang
mipmap_input40 = true
scale_type40 = viewport
scale_x40 = 1.0
scale_y40 = 1.0
float_framebuffer40 = true
shader41 = ../../shaders/guest/hsm-deconvergence.slang
filter_linear41 = true
scale_type41 = viewport
scale_x41 = 1.0
scale_y41 = 1.0
float_framebuffer41 = true
alias41 = "CRTPass"
shader42 = ../../shaders/base/post-crt-prep-potato.slang
scale_type42 = viewport
float_framebuffer42 = true
alias42 = "PostCRTPass"
alias40 = "PostCRTPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage"
@ -292,9 +308,11 @@ HSM_ASPECT_RATIO_MODE = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
h_sharp = "15.000000"
s_sharp = "1.500000"
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -1,4 +1,4 @@
shaders = 38
shaders = 36
shader0 = ../../shaders/base/add-params-potato.slang
alias0 = "CorePass"
@ -43,39 +43,78 @@ alias5 = "IntroPass"
shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang
alias6 = LinearGamma
shader7 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass1.slang
shader8 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass2.slang
shader9 = ../../shaders/hyllian/checkerboard-dedither/checkerboard-dedither-pass3.slang
alias9 = "PreMdaptPass"
shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang
filter_linear7 = false
scale_type7 = source
scale7 = 1.0
// De-Dithering - Mdapt
shader10 = ../../shaders/mdapt/hsm-mdapt-pass0.slang
shader11 = ../../shaders/mdapt/hsm-mdapt-pass1.slang
shader12 = ../../shaders/mdapt/hsm-mdapt-pass2.slang
shader13 = ../../shaders/mdapt/hsm-mdapt-pass3.slang
shader14 = ../../shaders/mdapt/hsm-mdapt-pass4.slang
shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang
filter_linear8 = false
scale_type8 = source
scale8 = 1.0
shader15 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang
filter_linear9 = false
scale_type9 = source
scale9 = 1.0
alias9 = CB_Output
shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
alias16 = "DeditherPass"
shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang
filter_linear10 = false
scale_type10 = source
scale10 = 1.0
shader17 = ../../shaders/base/stock.slang
// filter_linear17 = "false"
// wrap_mode17 = "clamp_to_border"
// mipmap_input17 = "false"
// float_framebuffer17 = "false"
// srgb_framebuffer17 = "true"
alias17 = XbrSource
shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang
filter_linear11 = false
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang
shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang
alias13 = "DeditherPass"
shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang
// alias14 = "DeditherPass"
shader15 = ../../shaders/base/stock.slang
// filter_linear15 = "false"
// wrap_mode15 = "clamp_to_border"
// mipmap_input15 = "false"
// float_framebuffer15 = "false"
// srgb_framebuffer15 = "true"
alias15 = XbrSource
shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang
filter_linear16 = "false"
wrap_mode16 = "clamp_to_border"
mipmap_input16 = "false"
float_framebuffer16 = "false"
srgb_framebuffer16 = "true"
shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
filter_linear17 = "false"
wrap_mode17 = "clamp_to_border"
mipmap_input17 = "false"
alias17 = ""
float_framebuffer17 = "false"
srgb_framebuffer17 = "true"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear18 = "false"
wrap_mode18 = "clamp_to_border"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "false"
srgb_framebuffer18 = "true"
scale_type_x18 = "source"
scale_x18 = "1.000000"
scale_type_y18 = "source"
scale_y18 = "1.000000"
shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang
shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear19 = "false"
wrap_mode19 = "clamp_to_border"
mipmap_input19 = "false"
@ -83,147 +122,124 @@ alias19 = ""
float_framebuffer19 = "false"
srgb_framebuffer19 = "true"
scale_type_x19 = "source"
scale_x19 = "2.000000"
scale_x19 = "1.000000"
scale_type_y19 = "source"
scale_y19 = "2.000000"
scale_y19 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang
filter_linear20 = "false"
wrap_mode20 = "clamp_to_border"
mipmap_input20 = "false"
alias20 = ""
float_framebuffer20 = "false"
srgb_framebuffer20 = "true"
scale_type_x20 = "source"
scale_x20 = "1.000000"
scale_type_y20 = "source"
scale_y20 = "1.000000"
shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear20 = false
scale_type_x20 = source
scale_x20 = 1
scale_type_y20 = source
scale_y20 = 0.5
wrap_mode20 = "clamp_to_edge"
shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang
filter_linear21 = "false"
wrap_mode21 = "clamp_to_border"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "false"
srgb_framebuffer21 = "true"
scale_type_x21 = "source"
scale_x21 = "1.000000"
scale_type_y21 = "source"
scale_y21 = "1.000000"
shader21 = ../../shaders/base/stock.slang
alias21 = "PreCRTPass"
shader22 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang
filter_linear22 = false
scale_type_x22 = source
scale_x22 = 1
scale_type_y22 = source
scale_y22 = 0.5
wrap_mode22 = "clamp_to_edge"
shader22 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear22 = true
scale_type22 = source
scale22 = 1.0
alias22 = "AfterglowPass"
shader23 = ../../shaders/base/stock.slang
alias23 = "PreCRTPass"
shader24 = ../../shaders/guest/hsm-afterglow0.slang
filter_linear24 = true
scale_type24 = source
scale24 = 1.0
alias24 = "AfterglowPass"
shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear25 = true
scale_type25 = source
mipmap_input25 = true
scale25 = 1.0
shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang
filter_linear23 = true
scale_type23 = source
mipmap_input23 = true
scale23 = 1.0
// Color Correction with Dogway's awesome Grade shader
// Grade is after Afterglow so that brightening the black level does not break the afterglow
shader26 = ../../shaders/dogway/hsm-grade.slang
filter_linear26 = false
scale_type26 = source
scale26 = 1.0
alias26 = "ColorCorrectPass"
shader24 = ../../shaders/dogway/hsm-grade.slang
filter_linear24 = false
scale_type24 = source
scale24 = 1.0
alias24 = "ColorCorrectPass"
shader27 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang
filter_linear25 = true
scale_type25 = source
scale_x25 = 1.0
scale_y25 = 1.0
shader26 = ../../shaders/base/stock.slang
filter_linear26 = true
scale_type26 = source
scale_x26 = 1.0
scale_y26 = 1.0
alias26 = "PrePass"
mipmap_input26 = true
shader27 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear27 = true
scale_type27 = source
scale_x27 = 1.0
scale_y27 = 1.0
shader28 = ../../shaders/base/stock.slang
filter_linear28 = true
scale_type28 = source
scale_x28 = 1.0
scale_y28 = 1.0
alias28 = "PrePass"
mipmap_input28 = true
shader29 = ../../shaders/guest/hsm-avg-lum.slang
filter_linear29 = true
scale_type29 = source
scale29 = 1.0
mipmap_input29 = true
alias29 = "AvgLumPass"
scale27 = 1.0
mipmap_input27 = true
alias27 = "AvgLumPass"
// Pass referenced by subsequent blurring passes and crt pass
shader30 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear30 = true
scale_type30 = source
scale30 = 1.0
float_framebuffer30 = true
alias30 = "LinearizePass"
shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang
filter_linear28 = true
scale_type28 = source
scale28 = 1.0
float_framebuffer28 = true
alias28 = "LinearizePass"
shader31 = ../../shaders/guest/hsm-gaussian_horizontal.slang
shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang
filter_linear29 = true
scale_type_x29 = absolute
scale_x29 = 800.0
scale_type_y29 = source
scale_y29 = 1.0
float_framebuffer29 = true
shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang
filter_linear30 = true
scale_type_x30 = absolute
scale_x30 = 800.0
scale_type_y30 = absolute
scale_y30 = 600.0
float_framebuffer30 = true
alias30 = GlowPass
shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang
filter_linear31 = true
scale_type_x31 = absolute
scale_x31 = 800.0
scale_type_y31 = source
scale_y31 = 1.0
scale_type_y31 = absolute
scale_y31 = 600.0
float_framebuffer31 = true
shader32 = ../../shaders/guest/hsm-gaussian_vertical.slang
shader32 = ../../shaders/guest/hsm-bloom_vertical.slang
filter_linear32 = true
scale_type_x32 = absolute
scale_x32 = 800.0
scale_type_y32 = absolute
scale_y32 = 600.0
scale_type_x32 = source
scale_x32 = 1.0
scale_type_y32 = source
scale_y32 = 1.0
float_framebuffer32 = true
alias32 = GlowPass
alias32 = BloomPass
shader33 = ../../shaders/guest/hsm-bloom_horizontal.slang
shader33 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang
filter_linear33 = true
scale_type_x33 = absolute
scale_x33 = 800.0
scale_type_y33 = absolute
scale_y33 = 600.0
scale_type33 = viewport
scale_x33 = 1.0
scale_y33 = 1.0
float_framebuffer33 = true
shader34 = ../../shaders/guest/hsm-bloom_vertical.slang
shader34 = ../../shaders/guest/hsm-deconvergence-potato.slang
filter_linear34 = true
scale_type_x34 = source
scale_type34 = viewport
scale_x34 = 1.0
scale_type_y34 = source
scale_y34 = 1.0
float_framebuffer34 = true
alias34 = BloomPass
alias34 = "CRTPass"
shader35 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang
filter_linear35 = true
shader35 = ../../shaders/base/post-crt-prep-potato.slang
mipmap_input35 = true
scale_type35 = viewport
scale_x35 = 1.0
scale_y35 = 1.0
float_framebuffer35 = true
shader36 = ../../shaders/guest/hsm-deconvergence-potato.slang
filter_linear36 = true
scale_type36 = viewport
scale_x36 = 1.0
scale_y36 = 1.0
float_framebuffer36 = true
alias36 = "CRTPass"
shader37 = ../../shaders/base/post-crt-prep-potato.slang
scale_type37 = viewport
float_framebuffer37 = true
alias37 = "PostCRTPass"
alias35 = "PostCRTPass"
// Define textures to be used by the different passes
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage"
@ -255,7 +271,7 @@ HSM_ASPECT_RATIO_MODE = 1
// HSM_CURVATURE_MODE = 0
// SMOOTH-ADV
HSM_DEDITHER_MODE = 3
SGPT_BLEND_OPTION = 1
SHARPSMOOTHER_ON = 1
max_w = 0.05

View file

@ -114,6 +114,7 @@ alias17 = "CRTPass"
g_gamma_out = 2.45
shader18 = ../../shaders/base/post-crt-prep-potato.slang
mipmap_input18 = true
scale_type18 = viewport
float_framebuffer18 = true
alias18 = "PostCRTPass"

View file

@ -119,6 +119,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader17 = ../../shaders/base/post-crt-prep-potato.slang
mipmap_input17 = true
scale_type17 = viewport
float_framebuffer17 = true
alias17 = "PostCRTPass"
@ -146,3 +147,6 @@ HSM_ASPECT_RATIO_MODE = 1
// NTSC Parameters
GAMMA_INPUT = 2.0
gamma_out = 1.95
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000"
h_sharp = "15.000000"
s_sharp = "1.500000"

View file

@ -93,6 +93,7 @@ g_sat = 0.15
g_gamma_out = 2.45
shader13 = ../../shaders/base/post-crt-prep-potato.slang
mipmap_input13 = true
scale_type13 = viewport
float_framebuffer13 = true
alias13 = "PostCRTPass"

Some files were not shown because too many files have changed in this diff Show more