Merge pull request #203 from hunterk/master

fix some paths in old mame_hlsl
This commit is contained in:
hizzlekizzle 2021-11-27 17:02:10 -06:00 committed by GitHub
commit 1d24c0b739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 2 deletions

View file

@ -13,7 +13,7 @@ scale_type1 = source
scale1 = 1.0 scale1 = 1.0
filter_linear1 = true filter_linear1 = true
shader2 = ../interpolation/shaders/sharp-bilinear.slang shader2 = ../../../../../interpolation/shaders/sharp-bilinear.slang
alias2 = PrescalePass alias2 = PrescalePass
scale_type2 = source scale_type2 = source
filter_linear2 = true filter_linear2 = true
@ -70,7 +70,7 @@ filter_linear11 = true
# mame's textures are available here: https://github.com/mamedev/mame/tree/master/artwork # mame's textures are available here: https://github.com/mamedev/mame/tree/master/artwork
textures = "MaskTexture" textures = "MaskTexture"
MaskTexture = shaders/mame_hlsl/resources/aperture-grille.png MaskTexture = ../../resources/aperture-grille.png
parameters = "AUTO_PRESCALE;chromaa_x;chromaa_y;chromab_x;chromab_y;chromac_x;chromac_y;ygain_r;ygain_g;ygain_b" parameters = "AUTO_PRESCALE;chromaa_x;chromaa_y;chromab_x;chromab_y;chromac_x;chromac_y;ygain_r;ygain_g;ygain_b"
chromaa_x = "0.630" chromaa_x = "0.630"

View file

@ -0,0 +1,28 @@
# Based on dannyld's rainbow settings
shaders = 2
shader0 = "../crt/shaders/mame_hlsl/shaders/mame_ntsc_encode.slang"
filter_linear0 = "true"
scale_type0 = "source"
scale0 = "1.000000"
shader1 = "../crt/shaders/mame_hlsl/shaders/mame_ntsc_decode.slang"
filter_linear1 = "true"
scale_type1 = "source"
scale_1 = "1.000000"
# ntsc parameters
ntscsignal = "1.000000"
avalue = "0.000000"
bvalue = "0.000000"
scantime = "47.900070"
# optional blur
shadowalpha = "0.100000"
notch_width = "3.450001"
ifreqresponse = "1.750000"
qfreqresponse = "1.450000"
# uncomment for jailbars in blue
#pvalue = "1.100000"