Fstarred
Posts: 4
Joined: Sun Oct 02, 2016 9:32 am

Can't enable scanlines

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 ?
User avatar
B2K24
Posts: 44
Joined: Wed Mar 30, 2016 5:43 am

Re: Can't enable scanlines

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.
Fstarred
Posts: 4
Joined: Sun Oct 02, 2016 9:32 am

Re: Can't enable scanlines

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 :|

Return to “MAME Discussion”