Page 1 of 1

Can't enable scanlines

Posted: Mon Oct 03, 2016 9:38 am
by Fstarred
I followed the documentation to enable scanlines effect, therefore I set the following properties on mame.ini:
  • video d3d
    filter 0
    hlsl_enable 1
Despite I set scanline_alpha = 1.0, I can't see scanlines at all.

Anyone can help me ?

Re: Can't enable scanlines

Posted: Mon Oct 03, 2016 10:01 pm
by B2K24
If you can't get HLSL working with D3D, I'd suggest seeing if BGFX works for you. Being able to use MAME's Internal Menu in-game to cycle through different shader chains is really cool and gives the user many choices that's fairly simple to select.

Code: Select all

# OSD VIDEO OPTIONS
#
video                     bgfx

Code: Select all

# BGFX POST-PROCESSING OPTIONS
#
bgfx_path                 bgfx
bgfx_backend              auto
bgfx_debug                0
bgfx_screen_chains        hlsl
bgfx_shadow_mask          slot-mask.png
bgfx_avi_name             auto
If you can get BGFX successfully working then you're able to TAB into MAME's Internal menu. Choose Slider controls then find option Window 0 Screen 0 Effect. If you don't like hlsl you can change it to crt-geom or crt-geom-deluxe might be what you're after.

Re: Can't enable scanlines

Posted: Sat Oct 08, 2016 10:29 am
by Fstarred
Oh such nice "retro" effects, thank you for the hints !

It' s a pity that by enabling these effects mame critically slowdown for any game I launch even on a laptop i5.
Maybe it's a GPU issue :|