|
Shader effects from other emulators?
#351761 - 03/21/16 07:37 AM
|
|
|
Can someone point me at some shader effects that are supplied with other emulators, or just available in general, that implement various effects that people seem to like?
CRT, HQ2x, HQ3x, doesn't really matter, I'm just looking for things to port over to the BGFX shader system.
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Shader effects from other emulators?
[Re: MooglyGuy]
#351762 - 03/21/16 09:37 AM
|
|
|
|
|
Re: Shader effects from other emulators?
[Re: MooglyGuy]
#351763 - 03/21/16 10:15 AM
|
|
|
> Can someone point me at some shader effects that are supplied with other emulators, > or just available in general, that implement various effects that people seem to > like? > > CRT, HQ2x, HQ3x, doesn't really matter, I'm just looking for things to port over to > the BGFX shader system.
Hi MooglyGuy,
i know that you all dont like RetroArch, but regarding shaders, they have a huge and i would say best arsenal of shaders comparing to other emulators.
http://buildbot.libretro.com/stable/1.3.0/windows/x86_64/
there is a shader-folder after installation, that contains hundreds of shaders, i just dont know if you can use/convert them with their format/language. I know that there is another source, where they kept the old versions, which where in a more compatible GLSL format, but i can give you the link only later this evening, as i dont have time, to search for it now . sorry.
i have some other links here, that might help:
http://libretro.com/forums/showthread.php?t=1628 https://github.com/hizzlekizzle/glsl-shaders
|
|
|
|
Re: Shader effects from other emulators?
[Re: MooglyGuy]
#351764 - 03/21/16 01:33 PM
|
|
|
> Can someone point me at some shader effects that are supplied with other emulators, > or just available in general, that implement various effects that people seem to > like? > > CRT, HQ2x, HQ3x, doesn't really matter, I'm just looking for things to port over to > the BGFX shader system.
The Kega Fusion homepage has well over a dozen of them for Mac, Linux, and Win platforms: http://www.carpeludum.com/kega-fusion/
There's also Pete's Plugins for a variety of platforms, primarily used for psx emulation: http://www.pbernert.com/html/gpu.htm
Based on OpenGL 3.3 / GLSL 1.5, there are the Quark (Bsnes/Higan) Shaders; close to 40 of them: https://github.com/hizzlekizzle/quark-shaders
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Shader effects from other emulators?
[Re: Trebor]
#351766 - 03/21/16 05:06 PM
|
|
|
I'll second the Pete's thread - most of the early SDLMAME GLSL demos (back before mainline had HLSL) came from ports of stuff found there. And since most of them were written for 2005-era GPUs they run quickly even on low-spec hardware nowadays.
|
|
|
|
Re: Shader effects from other emulators?
[Re: MooglyGuy]
#351771 - 03/21/16 07:23 PM
|
|
|
|
|
Re: Shader effects from other emulators?
[Re: SoltanGris42]
#351773 - 03/21/16 08:20 PM
|
|
|
There are two problems with the RetroArch shaders:
1st.) I am pretty sure they changed the syntax/language of the shaders lately. The android ones are the closest to GLSL, thats why i posted one of the links, that have a dropbox-link with all the shaders in GLSL style.
2nd.) Many of the shaders are multi-pass shaders and I dont know how far MooglyGuy has come with the JSON and BGFX stuff and if BGFX can support such a feature now. It was a main reason for me, why I decided to wait, because GLSL of MAME couldnt support multi-pass shader properly (for example pass shader 1 results to shader 4, etc.).
PS: SoltanGris42, please check for my PM to you at Emuversal
|
|
|
|
Re: Shader effects from other emulators?
[Re: SoltanGris42]
#351775 - 03/21/16 08:33 PM
|
|
|
|
|
Re: Shader effects from other emulators?
[Re: uman]
#351776 - 03/21/16 08:35 PM
|
|
|
> There are two problems with the RetroArch shaders: > > 1st.) I am pretty sure they changed the syntax/language of the shaders lately. The > android ones are the closest to GLSL, thats why i posted one of the links, that have > a dropbox-link with all the shaders in GLSL style. > > 2nd.) Many of the shaders are multi-pass shaders and I dont know how far MooglyGuy > has come with the JSON and BGFX stuff and if BGFX can support such a feature now. It > was a main reason for me, why I decided to wait, because GLSL of MAME couldnt support > multi-pass shader properly (for example pass shader 1 results to shader 4, etc.). > > PS: SoltanGris42, please check for my PM to you at Emuversal
I think the system MooglyGuy is writing is very general. That doesn't mean every shader will be able to be ported (I haven't looked in detail at the new system yet), but surely many will be able to work.
The syntax doesn't matter much. Whatever they use (cg?) is perfectly readable still. Moogly's smart, he'll figure it out. Even the current GLSL and HLSL shaders need rewriting to work with the new system.
Also, I replied to your PM. Sorry for the delay. I just never log in because I only very rarely post anything.
|
|
|
|
Re: Shader effects from other emulators?
[Re: SoltanGris42]
#351780 - 03/21/16 09:05 PM
|
|
|
> Also, I replied to your PM. Sorry for the delay. I just never log in because I only > very rarely post anything.
I know, i know , you are a silent reader .
> The syntax doesn't matter much. Whatever they use (cg?) is perfectly readable still. > Moogly's smart, he'll figure it out.
I hope you are right, i had issues with the "new" format. Dont be fooled with .cg (single shader) or .cgp (multi-shaders), as this is still the same ending like before, its more what is inside that caused me headaches. But yeah, Moogly will surely smile and think "what a idiot" .
|
|
|
|
Re: Shader effects from other emulators?
[Re: uman]
#351788 - 03/21/16 10:26 PM
|
|
|
> > Can someone point me at some shader effects that are supplied with other emulators, > > or just available in general, that implement various effects that people seem to > > like? > > > > CRT, HQ2x, HQ3x, doesn't really matter, I'm just looking for things to port over to > > the BGFX shader system. > > Hi MooglyGuy, > > i know that you all dont like RetroArch, but regarding shaders, they have a huge and > i would say best arsenal of shaders comparing to other emulators. > > http://buildbot.libretro.com/stable/1.3.0/windows/x86_64/ > > there is a shader-folder after installation, that contains hundreds of shaders, i > just dont know if you can use/convert them with their format/language. I know that > there is another source, where they kept the old versions, which where in a more > compatible GLSL format, but i can give you the link only later this evening, as i > dont have time, to search for it now . sorry. > > i have some other links here, that might help: > > http://libretro.com/forums/showthread.php?t=1628 > https://github.com/hizzlekizzle/glsl-shaders
This seems to just be a link to a RetroArch binary. I'm not interested in picking apart some other person's binary. I want links, directly, to effects.
|
|
|
|
Re: Shader effects from other emulators?
[Re: R. Belmont]
#351789 - 03/21/16 10:27 PM
|
|
|
> I'll second the Pete's thread - most of the early SDLMAME GLSL demos (back before > mainline had HLSL) came from ports of stuff found there. And since most of them were > written for 2005-era GPUs they run quickly even on low-spec hardware nowadays.
I appreciate the sentiment, but I'm honestly looking for suggestions on shader-based implementations of the more "kiddie-friendly" effects.
|
|
|
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Shader effects from other emulators?
[Re: MooglyGuy]
#351831 - 03/22/16 04:26 PM
|
|
|
> > I'll second the Pete's thread - most of the early SDLMAME GLSL demos (back before > > mainline had HLSL) came from ports of stuff found there. And since most of them > were > > written for 2005-era GPUs they run quickly even on low-spec hardware nowadays. > > I appreciate the sentiment, but I'm honestly looking for suggestions on shader-based > implementations of the more "kiddie-friendly" effects.
AFAIK there's 2XSAI and HQ2X implementations there, or there were last time I trawled the thread (there's multiple pages).
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Shader effects from other emulators?
[Re: uman]
#351832 - 03/22/16 04:29 PM
|
|
|
> 2nd.) Many of the shaders are multi-pass shaders and I dont know how far MooglyGuy > has come with the JSON and BGFX stuff and if BGFX can support such a feature now.
AFAIK the JSON file can define arbitrary shader chains, arbitrary buffer-passing between shaders, and even arbitrary sliders to control the whole thing. It's extremely powerful.
|
|
|
|
Re: Shader effects from other emulators?
[Re: R. Belmont]
#351836 - 03/22/16 06:10 PM
|
|
|
> > 2nd.) Many of the shaders are multi-pass shaders and I dont know how far MooglyGuy > > has come with the JSON and BGFX stuff and if BGFX can support such a feature now. > > AFAIK the JSON file can define arbitrary shader chains, arbitrary buffer-passing > between shaders, and even arbitrary sliders to control the whole thing. It's > extremely powerful.
Correct.
|
|
|
|
Re: Shader effects from other emulators?
[Re: MooglyGuy]
#352578 - 04/06/16 10:15 AM
|
|
|
|
|
Re: Shader effects from other emulators?
[Re: MooglyGuy]
#352580 - 04/06/16 02:05 PM
|
|
|
Is there one simple smoothing shader around that's not as aggressively blurry/muddy as bilinear, but not leaving the picture too sharp as well ?
Something that would be in-between bilinear without prescale, and bilinear with prescale 2 ...
|
> MAME isn't about playing the games anyway.
|
|