English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 25 July 2013, 11:00   #1
TysonJacobs
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)
Attached Files
File Type: rar shaderAndConfig.rar (3.0 KB, 194 views)

Last edited by TysonJacobs; 25 July 2013 at 11:09.
TysonJacobs is offline  
Old 25 July 2013, 16:32   #2
Toni Wilen
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.
Toni Wilen is online now  
Old 26 July 2013, 06:17   #3
TysonJacobs
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!
TysonJacobs is offline  
Old 26 July 2013, 09:43   #4
Toni Wilen
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.
Toni Wilen is online now  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:40.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09616 seconds with 13 queries