Home
Help
Search
Login
Register
Attract-Mode Support Forum
»
Attract-Mode Support
»
Scripting
»
using mame shaders in attractmode
« previous
next »
Print
Pages: [
1
]
Author
Topic: using mame shaders in attractmode (Read 5382 times)
keilmillerjr
Global Moderator
Hero Member
Posts: 1167
using mame shaders in attractmode
«
on:
November 13, 2016, 06:51:59 AM »
Using mame shaders in attractmode could create uniformity.
https://github.com/mamedev/mame/tree/master/bgfx
It looks like when you use a chain, mame passes corresponding json variables to a precompiled binary.
http://www.sfml-dev.org/tutorials/2.0/graphics-shader.php
It looks like smfl only supporrs vert and frag glsl shader files. Where is mame have uncompiled files? Do we have to decompile?
Logged
http://arcademvs.org
https://gitlab.com/attractmode/attract
https://gitlab.com/attractmode/wiki
https://attractmode.gitlab.io/wiki/
keilmillerjr
Global Moderator
Hero Member
Posts: 1167
Re: using mame shaders in attractmode
«
Reply #1 on:
November 14, 2016, 04:19:06 AM »
Found the source code for crt geom deluxe. Compare to lule nukems examples and convert.?
https://github.com/mamedev/mame/blob/master/src/osd/modules/render/bgfx/shaders/chains/crt-geom/fs_crt-geom-deluxe.sc
Logged
http://arcademvs.org
https://gitlab.com/attractmode/attract
https://gitlab.com/attractmode/wiki
https://attractmode.gitlab.io/wiki/
Print
Pages: [
1
]
« previous
next »
Attract-Mode Support Forum
»
Attract-Mode Support
»
Scripting
»
using mame shaders in attractmode