25 July 2013, 11:00 | #1 |
Registered User
Join Date: Jul 2013
Location: Nashville/USA
Posts: 10
|
Scanline shader problem
I'm having a problem writing a shader generating scanlines. None of the shaders which generate scanlines which come with UAE seem to work. However, they use the hacky dosbox method of generating the screen positions, which won't necessarily work on WinUAE. So I wrote a test scanline shader which uses direct3d to directly tell me where on the screen I am. This works correctly in Dosbox, but the output is still wrong in WinUAE. It looks like the image is being scaled after the shader completes, even though with the options I'm using there should be no scaling taking place.
WinUAE Dosbox (the banding is not present in the actual image) Last edited by TysonJacobs; 25 July 2013 at 11:09. |
25 July 2013, 16:32 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
"pre" shader output texture size was wrong (display size, not internal Amiga display size). Does http://www.winuae.net/files/b/winuae.zip fix it?
Remember to configure scanline shader to use filter levels -1 to -4. |
26 July 2013, 06:17 | #3 |
Registered User
Join Date: Jul 2013
Location: Nashville/USA
Posts: 10
|
My problem was that scaling was set to default, which made my brain not register that setting. I guess default corrects for overscan. I changed scaling to fullscreen(max) and it works perfectly, in slot -1 or 0. Thanks!
|
26 July 2013, 09:43 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
Defaults are never perfect for anyone, they are only "good enough" for normal use
btw, you still get scaling artifacts if window size is not exactly same as internal Amiga size and you use filter level 0 or higher. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shader support and scaling options in FS-UAE 1.3 | FrodeSolheim | support.FS-UAE | 9 | 18 December 2013 17:30 |
HLSL shader problems + suggestion | TysonJacobs | support.WinUAE | 3 | 07 December 2013 17:04 |
Please help me with my shader! | tjcbs | support.WinUAE | 3 | 02 February 2013 21:49 |
HQ2X Shader lost when changing Fullscreen / Windowed mode [Solved] | Marskilla | support.FS-UAE | 4 | 26 September 2012 14:54 |
Scanline option request | Christian | request.UAE Wishlist | 3 | 26 May 2009 22:24 |
|
|