I wanted to show off just a fraction of what's possible with bgfx which will be available when 0.172 releases in just a few days.
A couple days ago I watched Firehawke's streaming some nes games using MAME while showing off what's possible using bgfx and -bgfx_screen_chains hlsl
Be sure to consult the docs which have quite a lot of information
http://docs.mamedev.org/advanced/bgfx.html
So we start off by launching MAME using the nes softlist using game Mega Man 2 as an example while using video mode bgfx.
Code:
mame64 nes megaman2u -numscreens 1 -video bgfx -bgfx_screen_chains hlsl
By default the Enable Adjustments is set to off so you'll want to switch it to On.
http://imgur.com/lLSHTZO
Other options I decided to change are as followed which you have the option of changing with the sliders by going into Tab/Slider Controls
Code:
Screen Brightness 0.900
Screen Contrast 0.850
Screen Gamma 0.850
Color Saturation 1.30
Scanline Amount 0.00
Hum Bar Amount 0.05
Signal Exponent, Red 0.80
Signal Exponent, Green 0.80
Signal Exponent, Blue 0.80
Rounded Corner Amount 0.20
Vignetting Amount 0.12
Reflection Amount 0.18
*the above is in no way meant to be final or permanent. It's just me messing around while playing some games and can be customized to your exact liking*
Also, keep in mind whatever you may set in sliders will be lost when you close MAME.
Here's some pics of the final result after you're up and running.
http://imgur.com/zJ1jJzY
http://imgur.com/ERivPDA
http://imgur.com/qWQKru6
^^^ The line you see is the vertical moving Hum Bar which I really like but it can be changed in sliders if needed.
http://imgur.com/6lTJqsS
Have fun with it and enjoy ![](//www.mameworld.info/ubbthreads/images/graemlins/smile.gif)
Special thanks to MooglyGuy as none of this would be possible without his work and Firehawke for advice on getting this up and running.