Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Dungeonsdeep on June 17, 2014, 09:35:25 am

Title: HLSL shaders for ENTIRE system?
Post by: Dungeonsdeep on June 17, 2014, 09:35:25 am
I have been playing with the MAME HLSL shaders for a while now. They look GREAT.

I think behind a tinted piece of glass, many would be none the wiser and assume it's just an old CRT.

For what I am doing, an LCD is just way easier, and I personally don't mind the look.

Only problem is, only MAME has shaders that look acceptable, and every emulator seems to have their own style. So I go from HyperSpin, to MAME, to zsnes...and nothing looks consistent.

Outside of using a SLG3000, is there a way to get global shaders using software?

I would like the MAME shaders to be universal. Thanks!
Title: Re: HLSL shaders for ENTIRE system?
Post by: BadMouth on June 17, 2014, 11:14:34 am
As long as the emulator is using directx
http://forum.arcadecontrols.com/index.php/topic,132366.msg1359759.html#msg1359759 (http://forum.arcadecontrols.com/index.php/topic,132366.msg1359759.html#msg1359759)

I haven't used it personally, so I can't answer any technical questions.
Title: Re: HLSL shaders for ENTIRE system?
Post by: Dungeonsdeep on June 17, 2014, 04:38:14 pm
That's close to what I'm looking for, but I doubt it works on Hyperspin.

I'm looking for something you can run at startup in the background, and it just applies the shaders to everything, including Windows....
Title: Re: HLSL shaders for ENTIRE system?
Post by: Nuexzz on June 18, 2014, 12:20:10 am
Good in theory you can do something like this, it would be following these requirements.

-Edit a (scan.png) image "scanlines" real size of your desktop: eg 1680 x 1050 .
-Then tell the script that is above any window .
-And finally start the script with the system.

start here, for you to see what I'm talking  :P

Title: Re: HLSL shaders for ENTIRE system?
Post by: Haze on June 18, 2014, 09:15:11 am
In terms of the actual emulation the HLSL shaders also apply to MESS / UME, so if the system you want to run works adequately there then you have that option (although SNES isn't really great in many cases)

You can't really specify shaders for the whole of Windows tho, so I don't see any way you could apply them to Hyperspin etc. furthermore they're designed for low resolution graphics, using them on high resolution images (eg the frontend) is MUCH more costly, and won't really look authentic anyway.


Title: Re: HLSL shaders for ENTIRE system?
Post by: liquid8 on June 18, 2014, 12:39:29 pm
As posted by BadMouth - for a software solution, SweetFX is what you want. Unfortunately that requires some configuration and it can't just be applied overtop of everything, it runs on a per DirectX application basis. Pretty sure though that HS doesn't use directx.

If you want it to just run over everything, you need to go with a hardware solution, although you won't have per app settings so it might not look good across multiple emulators:
http://forum.arcadecontrols.com/index.php/topic,129344.0.html (http://forum.arcadecontrols.com/index.php/topic,129344.0.html)




Title: Re: HLSL shaders for ENTIRE system?
Post by: Dungeonsdeep on June 19, 2014, 08:02:48 am
Looks like the SLG is the route I have to take. Too bad it doesn't emulate screen curvature or phosphor glow  :'(
Title: Re: HLSL shaders for ENTIRE system?
Post by: Haze on June 19, 2014, 09:48:42 am
just be careful, some of the more advanced 'image enhancer' ones I've seen are worthless because they add a very significant amount of lag at the same time (much like the various enhancement modes in modern tvs do)

Title: Re: HLSL shaders for ENTIRE system?
Post by: Cisek on June 28, 2014, 06:28:11 pm
Get the retroarch http://www.libretro.com/index.php/downloads/ (http://www.libretro.com/index.php/downloads/)
And then use shader from this link: https://dl.dropboxusercontent.com/u/11217940/crt-interlaced-halation-tweak.rar (https://dl.dropboxusercontent.com/u/11217940/crt-interlaced-halation-tweak.rar)
It gives such results: https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-03-04.png (https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-03-04.png)
https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-24-32.png (https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-24-32.png)

Retroarch will work with a lot of platforms and will work also with hyperspin.
Read this topic first maybe: http://www.neogaf.com/forum/showthread.php?t=637928&page=16 (http://www.neogaf.com/forum/showthread.php?t=637928&page=16)
Title: Re: HLSL shaders for ENTIRE system?
Post by: Dungeonsdeep on July 02, 2014, 09:19:16 am
Get the retroarch http://www.libretro.com/index.php/downloads/ (http://www.libretro.com/index.php/downloads/)
And then use shader from this link: https://dl.dropboxusercontent.com/u/11217940/crt-interlaced-halation-tweak.rar (https://dl.dropboxusercontent.com/u/11217940/crt-interlaced-halation-tweak.rar)
It gives such results: https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-03-04.png (https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-03-04.png)
https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-24-32.png (https://dl.dropboxusercontent.com/u/11217940/retroarch-2014-03-25-17-48-24-32.png)

Retroarch will work with a lot of platforms and will work also with hyperspin.
Read this topic first maybe: http://www.neogaf.com/forum/showthread.php?t=637928&page=16 (http://www.neogaf.com/forum/showthread.php?t=637928&page=16)

This looks pretty promising. Thanks!