Previous Thread
Next Thread
Print Thread
Creating a new bgfx effect in MAME #116346 11/05/19 04:46 PM
Joined: Oct 2019
Posts: 21
R
Robert Hildinger Offline OP
Member
OP Offline
Member
R
Joined: Oct 2019
Posts: 21
Is there any info / pointers / documentation / guidelines on how to add a new bgfx effect into MAME?

Thanks,
-Robert

Re: Creating a new bgfx effect in MAME [Re: Robert Hildinger] #116347 11/05/19 05:52 PM
Joined: May 2009
Posts: 1,820
J
Just Desserts Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,820
The shaders themselves are authored using BGFX's own shader language, which broadly mimics GLSL but has some caveats.

The relevant JSON files have comprehensive inline documentation inline in the form of comments in certain ones:

Chains: bgfx/chains/hlsl.json
Effects: bgfx/effects/misc/blit.json

That should pretty much cover everything, but if you have any specific questions, feel free to ask.

Re: Creating a new bgfx effect in MAME [Re: Robert Hildinger] #116349 11/05/19 11:16 PM
Joined: Oct 2019
Posts: 21
R
Robert Hildinger Offline OP
Member
OP Offline
Member
R
Joined: Oct 2019
Posts: 21
Thanks for the pointers!


Who's Online Now
2 registered members (AJR, Cpt. Pugwash), 203 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,712
Posts114,515
Members4,869
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3