Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Justin on July 30, 2025, 02:55:44 pm

Title: HLSL based Reflective Bezel for MAME
Post by: Justin on July 30, 2025, 02:55:44 pm
Not sure how much interest this will draw, but I am a big fan of HLSL versus GLSL/BGFX when running MAME, and there arent any reflective bezel shaders out there for HLSL.  So, I have taken this upon myself to tweak the native post.fx HLSL file to add a reflection, combined with a MAME artwork file for the Bezel bitmap itself, in "additive" blend mode to achieve something very very promising so far...   

Still some huge hurdles to overcome given the nature of hardcoded shader chain order in HLSL....

Looking for help from experienced HLSL coders out there to get this finished and polished.
Title: Re: HLSL based Reflective Bezel for MAME
Post by: Justin on August 04, 2025, 05:24:58 pm
No interest?  Have made more progress, screenshots soon.
Title: Re: HLSL based Reflective Bezel for MAME
Post by: Justin on August 07, 2025, 02:36:30 pm
(https://uploads.tapatalk-cdn.com/20250807/276a63f98308006848f06a31fe685f28.jpg)
Title: Re: HLSL based Reflective Bezel for MAME
Post by: gus84 on August 26, 2025, 06:17:09 pm
That is super cool.

Those bezel are the reason I'm still using retroarch on my cab.
I would like to use Mame for a more accurate emulation and better performance but I'm too addicted to RA shaders, and especially the reflective TV bezel.

Hope you'll make a tutorial on how to set this up.