Previous Thread
Next Thread
Print Thread
Joined: Oct 2019
Posts: 21
R
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

Joined: May 2009
Posts: 1,900
Likes: 1
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,900
Likes: 1
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.

Joined: Oct 2019
Posts: 21
R
Member
OP Offline
Member
R
Joined: Oct 2019
Posts: 21
Thanks for the pointers!


Link Copied to Clipboard
Who's Online Now
0 members (), 32 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,882
Posts116,798
Members4,962
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com