English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.WinUAE (http://eab.abime.net/forumdisplay.php?f=5)
-   -   Corrected shaders for WinUAE (http://eab.abime.net/showthread.php?t=61776)

guest.r 09 November 2011 16:57

Corrected shaders for WinUAE
1 Attachment(s)

I noticed WinUAE included a variety of older shaders in it's latter releases. Since the graphics is being processed by a different set of settings and circumstances i adapted a nice collection of D3D filters to work better with the current release of WinUAE. It's also important to replace the old "shader.code" file with the new or shaders might not work.

Basic guidelines for usage are double line mode and hires resolution.

This pack basically replaces ALL my present shaders with new "models" which have enhanced compatibility, usage and algorithm features. Dunno about the monochromatic shaders, they don't tickle my toes here.

Regards to everyone around this place,


guest.r 10 November 2011 13:07

Anyhow i got some ideas about improoving the functionalities of some filters, 2 more shaders are added. DL from top of the thread please. :)

Toni Wilen 11 November 2011 18:43

What exactly have changed? I want to know before I do anything with them and I am too lazy to check them myself! :D

guest.r 13 November 2011 15:24


Originally Posted by Toni Wilen (Post 784839)
What exactly have changed? I want to know before I do anything with them and I am too lazy to check them myself! :D

All shaders except Lanczos are 2 pass shaders now and need a 2x bigger 1st to 2nd pass (temp) buffer. Smart filters feature smart filtering, it something one has to check. Interested tweakers could tweak shaders like 2xSai into something more appealing, plenty of room for that (CRT, scanlines, 90 degree rotation...whatever). ;)

guest.r 06 March 2012 16:49

I added some nice derivations along with cosmetic changes, should come around well. The scanline shader, hmm, it should be tweaked, it's functionalities are really progressive. :)

DL from top please.

Regards, guest.r

Ian 06 March 2012 22:16

Any chance you can look at the 5xmbr filter see if you can get a speed boost out of it?

guest.r 07 March 2012 16:41

I managed to port the 5xBR v3.5a Shader to WinUAE compatibility, i'll see if any speedups are in (might take time).
(plz. download improoved versions below).

guest.r 11 March 2012 19:56


Ian 11 March 2012 22:56

It's already ported in this thread.


The version you have done is roughly the same speed but it doesn't work correctly.

guest.r 11 March 2012 23:56

1 Attachment(s)
Naa, it works fine.
Display should be set in Hires double line mode and it uses the shader.code file from the package.
Improoved the speed a bit. The 3.5b version could shape fonts somewhat better.

turrican3 30 March 2015 10:30

hi could it be possible to have 2xbr too ??? I tested 3xbr and 4xbr and the result is more or less the same that 5xbr but 2xbr is less aggresive than the others, it should be cool to have it.
By the way could it be possible to selection 2 filters like you can do it with dosbox... 5xbr+hq2x is possible by exemple.It should be cool too to see what we can do with that, of course it's not a priority at all... I'm already more than happy with what toni already did but if he find a way to make it possible ???
Is it easy to edit 5xbr and change it to 2xbr ???

Leandro Jardim 30 March 2015 23:13


Originally Posted by turrican3 (Post 1012524)
By the way could it be possible to selection 2 filters like you can do it with dosbox... 5xbr+hq2x is possible by exemple.

I think it is possible, but I may be wrong -- see on the filter panel the numbered combo box, you can select up to 9 filters (one for each number) in the combo box. Numbers from -4 to -1 are filters that are drawn with the original Amiga display resolution. Numbers from 0 to 4 are drawn after the up-scaling, i.e. with the PC monitor resolution you choose in the Display panel. The filter on number 0 is special in that it have the precedence over any "PNG masks" you choose from 0 to 4.


turrican3 01 April 2015 04:24

I'm not sure that it works like that, but i must admit that i don't know what it is working for ???

Toni Wilen 01 April 2015 09:09

0 includes scaling, source size is input (Amiga) resolution, destination size is output resolution (configured window/fullscreen size).

turrican3 03 April 2015 13:18

Sorry Toni, i'm perhaps stupid but i don't really understand !! I mean i tested all possibilities and i see no differences on screen.The display size doesn't change, nothing seems to change. ????

Schlachtwerk 03 April 2015 16:30

I Exist a Shader for Curved Surface that have no Scanlines ?

guest.r 02 July 2016 21:40

1 Attachment(s)

If anyone is interested i ported the new xBR Level2 shader to WinUAE and added a simplified Accuracy feature (which exists as a 2 pass shader in RA) in single pass. The shader works with hires/double line mode and looks surprisingly well with bilinear enabled in Extra settings (some kind of magic lol :D).

This makes it somewhat slower but it's a nice feature (makes spiked artifacts go away).

guest.r 03 July 2016 16:12

2 Attachment(s)

Originally Posted by Schlachtwerk (Post 1013229)
I Exist a Shader for Curved Surface that have no Scanlines ?

I have managed to add the curvature effect (from PD CRT-Lottes shader) to the excellent supporting DDT shader which comes with no shadowmasks, as they can be used on top.

The shader itself can be tweaked a bit for the distortion strength.

Edit: For games that display a black bar below the distortion should be adjusted and therefore a alternate shader used (Wide version).

rsn8887 07 July 2016 06:58

Slightly OT, but does the collection of filters include a "sharp-bilinear" filter, or is it possible to use the filters to create such a "sharp bilinear" effect, e.g. 2*pre-scale with point filtering followed by remaining scale to fullscreen with bilinear filtering?

nobody 07 July 2016 09:20

The d3d.bright shader in WinUAE looks close to a crt. Still far from the real thing but it's ok. The colors and the glow look ok, and the subtle scanlines look ok too.


All times are GMT +2. The time now is 19:17.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.

Page generated in 0.04949 seconds with 11 queries