xBRZ... shaders for FS-UAE
1 Attachment(s)
Hi everyone!
I ported some fresh xBRZ (4x and 6x) shaders to the format FS-UAE uses. Made them also much faster (simpler metrics; symmetry feature, works best with even scaling factors). They work well with my old AMD card, hopefully they work in general. :D If i produce something useful in the future, i'll post it here... Edit: Some useful info: Please copy the shaders into the Code:
Data\Shaders Example of setting up the shaders via the Custom Configuration option: Code:
keep_aspect = 1.0 https://github.com/FrodeSolheim/fs-u...fs-uae/shaders I also made a collection of the nicest shaders around and hosted them on Github. These must be downloaded and put into the Data\Shaders folder. https://github.com/guestrr/FS-UAE-Shaders You can find more interesting shaders in this thread, so feel free to explore a bit. |
Where to install the files? PlugIns?
|
I think there's currently no dedicated folder for shaders, you can just install them anywhere convenient and then write the full path to the selected shader in custom config option like this:
line_doubling = 0 low_resolution = 1 shader = d:\xbrz6x.shader ...if you extract your shaders directly to d:\ for example. |
Thats the only thing I tried before ... but FS-AUE crashes on OSX. :( Seems to work only in Windows.
|
3 Attachment(s)
Sorry to hear the shaders don't work on OSX, hard to tell id it is a FS-UAE or OS/Driver issue i guess.
Meanwhile i managed to prepare another interesting shader. It's based on the excellent scalefx upscaler from spookyfox, which means superb shaping. I added some smoothing and pseudo-bump mapping sharpening. Hope you have some fun with it. :) |
Excellent filters by the looks of those screenshots, any chance of some WinUAE friendly .fx versions?
|
Quote:
scalefx-aa-bump does not work unfortunately: Code:
512 characters BTW: If you create a directory FS-UAE/Data/Shadersand throw your shaders in here, you don't need to write the full path to your configs. A simple shader = xbrz4xwill do it. |
@Ian:
4xBRZ is an option the way Winuae handles scaling, i will test it and if it works properly also post it on the boards. The scalefx-aa-bump shader uses 10 passes and it's impossible to implement it to the .fx atm. The GLSL XML format is a bit aged but it still makes very complex shaders possible to implement. @jbl007: I'm very fond you cleared the 'shader folder' issue. Helps a lot. I also reviewed the shader port, there were some constant integer numbers that refused to cooperate in float math. Fixed that. Since both versions work in my case i'll be happy for more possible error reports. |
Thanks guest.r :)
|
Works fine now and it's looking great, thanks. Unfortunately my GPU is not "beefy" enough to output full FPS even at low res. uae_gfx_framerate=2 does help at least...
|
3 Attachment(s)
Yep the shader renders up to 6x resolution, that's why the output resolution doesn't make it faster.
This one is not much faster unfortunately, but could make super-xbr fans happy. :D I think it's sharpening feature could make it a very good TV shader. It comes in two versions, a clearer and a smoother one. Feel free to post a nice screenie if you like it. Edit: more compatible versions uploaded, thanks to jbl007. Edit2: new versions with better anti-ringing and other settings. PS: BONUS INCLUDED! ;) |
Quote:
Code:
[SHADERS] Compiled vertex shader successfully |
I have an idea where the problem may be. Thanks for reporting the 'bug'. :)
Could you test this version if it works? |
Quote:
warning: Float suffixes are invalid in GLSL 1.10 |
I hope it works now. Was all clear even on my old gf. :)
|
1 Attachment(s)
...back to the mainstream!
I prepared two more cool CRT shaders, a tweaked classic CRT Lottes and a version with xbr (super). The classic version is quite fast, the latter might need some muscle to run in full speed. Hope you like it. :) |
Quote:
Quote:
Anyway... it looks very CRTish :-) Integer scaling is recommended here, scale_x=2, scale_y=2 |
4 Attachment(s)
Quote:
I've made it super fast now (at least 6x, means it runs in 5x5 resolution with same speed as before in 2x2), and it still looks good ole lottes. The bloom effect was really slowing things down, not to mention power functions in gamma management. I think it should be the default version here since it's really more usable with higher output resolutions. IGP friendly...:p Edit: New version (17.5.2017). Almost 20% faster, still accurate. Edit2: New fast version (18.5.2017). Almost 2x faster and nice looking. Edit3: Renamed and added original version so you can have all np. |
Yes it's much faster now, it can output 50FPS in fullscreen (and >80FPS with warp mode enabled).
|
Glad to heat it works with full speed.
I've got it even faster and better looking in my new version (please download from above). Here is a link how a crt-lottes shader looks in action... https://s17.postimg.org/ub0x1ygr3/OVL-01.pngonline photo sharing Edit: I developed a new fast version. The implemented XML shader format really worked as stated. It's very fast even when compared with already speedy single pass shader. I have tested it with my old integrated radeon HD 4200 (40:4:4) in 1620x1050 resolution. The results: CRT-Lottes original: 3 FPS CRT-Lottes classic: 25 FPS CRT-Lottes fast : 47 FPS I switched to 5x4 scale and got comfortable 60+ FPS, nice. Curvature edges aren't getting any aliasing so i removed it in this version. The blur is of higher quality and a tiny bit more intensive (compensated with #hardpix adjustment), everything else looks/works the same. Where is the catch? I used 2 passes which allows some neat speedup tricks. So if you have a modest laptop/basic desktop machine you can still play with this shader full speed/high res. Download at the post above. |
All times are GMT +2. The time now is 17:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.