From 43d7ab36632d01856f2d272dbd831b27242f7cd7 Mon Sep 17 00:00:00 2001 From: "Westley M. Martinez" Date: Fri, 16 Dec 2016 14:42:14 -0800 Subject: 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. --- src/osd/windows/winmain.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/osd/windows/winmain.cpp') diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp index d93852f9bf0..06607e27f42 100644 --- a/src/osd/windows/winmain.cpp +++ b/src/osd/windows/winmain.cpp @@ -219,6 +219,7 @@ const options_entry windows_options::s_option_entries[] = { WINOPTION_PHOSPHOR_TAU";fs_phosphor_tau", "0.026,0.026,0.026", OPTION_STRING, "exponential time constant" }, { WINOPTION_PHOSPHOR_BETA";fs_phosphor_beta", "0.7,0.7,0.7", OPTION_STRING, "inverse power order" }, { WINOPTION_PHOSPHOR_GAMMA";fs_phosphor_gamma", "300,300,300", OPTION_STRING, "inverse power time constant" }, + { WINOPTION_LCD_PERSISTENCE";fs_lcd_persistence", "0.02", OPTION_STRING, "LCD pixel persistence time constant" }, /* NTSC simulation below this line */ { nullptr, nullptr, OPTION_HEADER, "NTSC POST-PROCESSING OPTIONS" }, { WINOPTION_YIQ_ENABLE";yiq", "0", OPTION_BOOLEAN, "enables YIQ-space HLSL post-processing" }, -- cgit v1.2.3-70-g09d2