summaryrefslogtreecommitdiffstats
path: root/ini
diff options
context:
space:
mode:
authorGravatarGravatar Westley M. Martinez <anikom15@gmail.com>2017-01-02 15:42:33 -0800
committerGravatarGravatar Westley M. Martinez <anikom15@gmail.com>2017-01-02 15:42:33 -0800
commit91172125deac5dd200225daa48039010be4e0eab (patch) (github)
tree416a36818cc220fa7f2cc35f3f8dfc817215b4ee /ini
parentc7cc38199abb28e4983ecd940825f5bf930702ad (diff)
downloadmame-91172125deac5dd200225daa48039010be4e0eab.tar.bz2
mame-91172125deac5dd200225daa48039010be4e0eab.zip
Add LCD ghosting shader for Direct3D
hlsl/ghosting.fx: Add LCD ghosting shader hlsl/phosphor.fx: Remove LCD logic ini/presets/gameboy.ini, ini/presets/gba.ini, ini/presets/lcd-matrix.ini, ini/presets/lcd.ini, ini/presets/raster.ini, ini/presets/vector.ini: Update presets src/osd/modules/render/d3d/d3dhlsl.cpp, src/osd/modules/render/d3d/d3dhlsl.h: Add LCD shader and sliders. Allow sliders to be adjusted for R, G, and B components. src/osd/windows/winmain.cpp, src/osd/windows/winmain.h: Add LCD ghosting options.# Please enter the commit message for your changes. Lines starting
Diffstat (limited to 'ini')
-rw-r--r--ini/presets/gameboy.ini3
-rw-r--r--ini/presets/gba.ini3
-rw-r--r--ini/presets/lcd-matrix.ini3
-rw-r--r--ini/presets/lcd.ini3
-rw-r--r--ini/presets/raster.ini4
-rw-r--r--ini/presets/vector.ini4
6 files changed, 12 insertions, 8 deletions
diff --git a/ini/presets/gameboy.ini b/ini/presets/gameboy.ini
index a95ef2a453c..3ac98f98ee0 100644
--- a/ini/presets/gameboy.ini
+++ b/ini/presets/gameboy.ini
@@ -31,7 +31,8 @@ offset 0.0,0.10,0.05
scale 0.9,0.8,1.0
power 1.4,1.2,1.8
floor 0.0,0.0,0.0
-lcd_persistence 0.04
+lcd_rise_time 0.25,0.25,0.25
+lcd_fall_time 0.1,0.1,0.1
#
# NTSC POST-PROCESSING OPTIONS
diff --git a/ini/presets/gba.ini b/ini/presets/gba.ini
index c39a627099e..1be2a736d4e 100644
--- a/ini/presets/gba.ini
+++ b/ini/presets/gba.ini
@@ -31,7 +31,8 @@ offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.0,0.0,0.0
-lcd_persistence 0.03,0.03,0.03
+lcd_rise_time 0.05,0.05,0.05
+lcd_fall_time 0.1,0.1,0.1
#
# NTSC POST-PROCESSING OPTIONS
diff --git a/ini/presets/lcd-matrix.ini b/ini/presets/lcd-matrix.ini
index 7728e1cf281..7103ae5bc8f 100644
--- a/ini/presets/lcd-matrix.ini
+++ b/ini/presets/lcd-matrix.ini
@@ -31,7 +31,8 @@ offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.0,0.0,0.0
-lcd_persistence 0.03,0.03,0.03
+lcd_rise_time 0.25,0.25,0.25
+lcd_fall_time 0.1,0.1,0.1
#
# NTSC POST-PROCESSING OPTIONS
diff --git a/ini/presets/lcd.ini b/ini/presets/lcd.ini
index c39a627099e..1be2a736d4e 100644
--- a/ini/presets/lcd.ini
+++ b/ini/presets/lcd.ini
@@ -31,7 +31,8 @@ offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.0,0.0,0.0
-lcd_persistence 0.03,0.03,0.03
+lcd_rise_time 0.05,0.05,0.05
+lcd_fall_time 0.1,0.1,0.1
#
# NTSC POST-PROCESSING OPTIONS
diff --git a/ini/presets/raster.ini b/ini/presets/raster.ini
index 702f071060b..c566fbe15ff 100644
--- a/ini/presets/raster.ini
+++ b/ini/presets/raster.ini
@@ -38,8 +38,8 @@ scale 1.15,1.05,0.90
power 0.90,0.90,1.15
floor 0.025,0.025,0.025
phosphor_mode 2
-phosphor_time 0.050,0.005,0.005
-phosphor_beta 1.0,0.5,0.5
+phosphor_time 0.050,0.018,0.018
+phosphor_beta 1.0,0.7,0.7
#
# NTSC POST-PROCESSING OPTIONS
diff --git a/ini/presets/vector.ini b/ini/presets/vector.ini
index c1b57de84a9..c2d41cf5cb6 100644
--- a/ini/presets/vector.ini
+++ b/ini/presets/vector.ini
@@ -41,8 +41,8 @@ scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.0,0.0,0.0
phosphor_mode 2
-phosphor_time 0.050,0.005,0.005
-phosphor_beta 1.0,0.5,0.5
+phosphor_time 0.050,0.018,0.018
+phosphor_beta 1.0,0.7,0.7
#
# NTSC POST-PROCESSING OPTIONS