24 March 2014, 02:23 | #1 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Make two shaders work with WinUAE
Hi,
Anyone with skills to write DirectX shaders, could take a look at these filters, and see if they can be made to work with WinUAE? They are the only ones that not works on my computer, I dont know why... And at the same time, would be very nice to have these two filters for community use; please? (They are pure Direct3D filters, of course, but with a .txt extension.) Last edited by Leandro Jardim; 27 March 2019 at 13:40. |
24 March 2014, 19:39 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
"float2 InputDims : INPUTDIMS" needs changing. WinUAE does not set INPUTDIMS (will be in next beta). Workaround: set it to same value as your window size (for example if 800x600, "float2 InputDims : INPUTDIMS = { 800.0, 600.0 };"). Image will be distorted if value does not match display size.
function "float2 bkwtrans(float2 xy)" "point" variable is apparently reserved word, rename all "point" words to some other, for example "pointx" (Only lower case "point", upper case "POINT" must not be changed) |
26 March 2014, 04:04 | #3 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Thanks Toni, it is working now, but I think I will wait for the next beta to use them.
|
26 March 2014, 04:12 | #4 |
Da Digger :)
Join Date: Nov 2008
Location: Monza, Italy
Posts: 2,822
|
|
26 March 2014, 10:37 | #5 |
Moon 1969 = amiga 1985
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
|
|
27 March 2014, 11:04 | #6 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Hi,
Well it works but it is too slow for me I was trying to use this filter together with "TysonCRT", another filter, and with Aperture2x4rb, a mask, as a way to get a nice CRT TV display on my LCD, but they not work together too. Will be too bad for me to snapshot bad pictures with this filter in WinUAE, so I will post only the updated filters for you guys to test on your home, sorry. Last edited by Leandro Jardim; 27 March 2019 at 13:39. |
27 March 2014, 11:31 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
These kinds of shader filters require lots of GPU power. CPU speed is not important. Each pixel requires 10-1000 shader instructions (closer to 100 or even more with this shader), all pixels will be calculated 50 times/second.
Try commenting out oversampling, "#define OVERSAMPLE" -> "//#define OVERSAMPLE" Another solution is the usual: Buy a better PC. (Or at least GPU) |
27 March 2014, 11:55 | #8 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Ah, this means that there is no way for me to get a fast CRT display with my configuration, well, I am happy enough with TysonCRT + Aperture2x4rb, I tweaked both two little a bit, together they look a lot like my old Philips 28' CRT TV...
Thanks Toni, nice that you clarified this issue, it has "bugging" me a bit, since the first time I installed the filter that started the conversation. Last edited by Leandro Jardim; 27 March 2014 at 12:35. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Corrected shaders for WinUAE | guest.r | support.WinUAE | 419 | 30 April 2023 14:25 |
fx Shaders in WinUAE 2.6.0 | crazy46guy | support.WinUAE | 8 | 16 June 2013 14:30 |
Anyone able to make Cobra work? | Mclane | support.WinUAE | 6 | 05 September 2010 15:40 |
make rain from tbl work perfectly with winuae | turrican3 | support.Demos | 35 | 11 March 2010 14:19 |
Catweasel IV can't make it work | zimgr5 | support.Hardware | 14 | 17 February 2009 22:02 |
|
|