2020-06-27 07:18:00 +10:00
|
|
|
# info on how the passes come together can be found in mame/bgfx/chains/hlsl.json
|
|
|
|
shaders = 11
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader0 = shaders/mame_hlsl/shaders/mame_ntsc_encode.slang
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear0 = true
|
|
|
|
scale_type0 = source
|
|
|
|
scale0 = 1.0
|
2020-06-27 07:18:00 +10:00
|
|
|
filter_linear0 = true
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader1 = shaders/mame_hlsl/shaders/mame_ntsc_decode.slang
|
|
|
|
filter_linear1 = true
|
|
|
|
alias1 = NTSCPass
|
2019-03-28 08:28:59 +11:00
|
|
|
scale_type1 = source
|
|
|
|
scale1 = 1.0
|
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader2 = shaders/mame_hlsl/shaders/mame_color.slang
|
|
|
|
alias2 = ColorPass
|
2019-03-28 08:28:59 +11:00
|
|
|
scale_type2 = source
|
2020-06-27 07:18:00 +10:00
|
|
|
scale2 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear2 = true
|
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader3 = shaders/mame_hlsl/shaders/mame_prescale.slang
|
|
|
|
alias3 = PrescalePass
|
|
|
|
scale_type3 = viewport
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear3 = true
|
2020-06-27 07:18:00 +10:00
|
|
|
scale3 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader4 = shaders/mame_hlsl/shaders/mame_deconverge.slang
|
|
|
|
alias4 = DeconvergePass
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear4 = true
|
2020-06-27 07:18:00 +10:00
|
|
|
scale_type4 = viewport
|
|
|
|
scale4 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader5 = shaders/mame_hlsl/shaders/mame_scanline.slang
|
|
|
|
alias5 = ScanlinePass
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear5 = true
|
2020-06-27 07:18:00 +10:00
|
|
|
scale_type5 = viewport
|
|
|
|
scale5 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader6 = shaders/mame_hlsl/shaders/mame_defocus.slang
|
|
|
|
alias6 = FocusPass
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear6 = true
|
2020-06-27 07:18:00 +10:00
|
|
|
scale_type6 = viewport
|
|
|
|
scale6 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2019-04-20 06:52:09 +10:00
|
|
|
shader7 = shaders/mame_hlsl/shaders/mame_post.slang
|
2019-03-28 08:28:59 +11:00
|
|
|
alias7 = PostPass
|
|
|
|
filter_linear7 = true
|
2019-04-20 06:52:09 +10:00
|
|
|
scale_type7 = viewport
|
2020-06-27 07:18:00 +10:00
|
|
|
scale7 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader8 = shaders/mame_hlsl/shaders/mame_phosphor.slang
|
|
|
|
alias8 = PhosphorPass
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear8 = true
|
2019-04-20 06:52:09 +10:00
|
|
|
scale_type8 = viewport
|
2020-06-27 07:18:00 +10:00
|
|
|
scale8 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader9 = shaders/mame_hlsl/shaders/mame_chroma.slang
|
|
|
|
alias9 = ChromaPass
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear9 = true
|
2020-06-27 07:18:00 +10:00
|
|
|
scale_type9 = viewport
|
|
|
|
scale9 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2020-06-27 07:18:00 +10:00
|
|
|
shader10 = shaders/mame_hlsl/shaders/mame_distortion.slang
|
|
|
|
alias10 = DistortionPass
|
2019-03-28 08:28:59 +11:00
|
|
|
filter_linear10 = true
|
2020-06-27 07:18:00 +10:00
|
|
|
scale_type10 = viewport
|
|
|
|
scale10 = 1.0
|
2019-03-28 08:28:59 +11:00
|
|
|
|
2023-02-25 00:35:58 +11:00
|
|
|
#shader11 = shaders/mame_hlsl/shaders/lut.slang
|
|
|
|
#filter_linear11 = true
|
2019-03-28 08:28:59 +11:00
|
|
|
|
|
|
|
# mame's textures are available here: https://github.com/mamedev/mame/tree/master/artwork
|
|
|
|
textures = "MaskTexture"
|
2019-04-20 06:52:09 +10:00
|
|
|
MaskTexture = shaders/mame_hlsl/resources/aperture-grille.png
|