diff options
author | 2016-12-16 14:42:14 -0800 | |
---|---|---|
committer | 2016-12-29 14:57:31 -0800 | |
commit | 43d7ab36632d01856f2d272dbd831b27242f7cd7 (patch) | |
tree | 9e98061e6e1f36e7ec5bee86df1609cc1134df3d /src/osd/modules/render/d3d/d3dhlsl.h | |
parent | 0b6f935443d2fa048a9b2f9db8b00cf6cb8e7078 (diff) |
Implement LCD persistence shader.
hlsl/phosphor.fx: Do LCD persistence effect using boolean LCD.
LCD persistence is monochrome and thus does not have separate components
like phosphor persistence.
src/osd/modules/render/d3d/d3dhlsl.cpp: Add slider for LCD
games.
src/osd/modules/render/d3d/d3dhlsl.h: (BP) Add options for LCD
games.
src/osd/windows/winmain.cpp: (BP) Add options for LCD games.
src/osd/windows/winmain.h: (BP) Add options for LCD games.
Diffstat (limited to 'src/osd/modules/render/d3d/d3dhlsl.h')
-rw-r--r-- | src/osd/modules/render/d3d/d3dhlsl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/modules/render/d3d/d3dhlsl.h b/src/osd/modules/render/d3d/d3dhlsl.h index 134698b2fa1..3dda52de423 100644 --- a/src/osd/modules/render/d3d/d3dhlsl.h +++ b/src/osd/modules/render/d3d/d3dhlsl.h @@ -82,6 +82,8 @@ public: CU_PHOSPHOR_BETA, CU_PHOSPHOR_GAMMA, + CU_LCD_PERSISTENCE, + CU_POST_VIGNETTING, CU_POST_DISTORTION, CU_POST_CUBIC_DISTORTION, @@ -210,6 +212,7 @@ struct hlsl_options float phosphor_tau[3]; float phosphor_beta[3]; float phosphor_gamma[3]; + float lcd_persistence; float saturation; // NTSC |