14 April 2018, 01:07 | #1 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,444
|
Uneven scanlines if an overlay is selected
This is some older issue i guess. All shaders have some kind of uneven scanlines when you use an overlay. Looks like this:
Darker scanlines (and combining with a mask) is even worse. I talked with guest.r and he said that it's caused due to a non-integer prescale. So, my question: Can you add an integer prescaling to WinUAE? btw: it happens without an overlay image too. Harder to spot but it's surely there. Annoys a bit in vertical scrolling. Last edited by Retro-Nerd; 14 April 2018 at 01:36. |
14 April 2018, 09:14 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Config file required + overlay files.
|
14 April 2018, 14:13 | #3 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,444
|
|
14 April 2018, 16:27 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Right, overlay adds extra scaling (to match transparent area) which causes shader scaling mismatch..
Not sure how to fix this properly.. |
14 April 2018, 16:50 | #5 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,444
|
Yeah, thought so. Tried to cut the top/bottom of the overlay a bit to have more vertical resolution. But it wasn't enough. Maybe a scaling option for the overlay itself could help? In RetroArch it looks fine.
|
14 April 2018, 17:46 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Correct fix is to make overlay area final output size, not using configured windowed/fullscreen size which is then scaled to overlay size..
Not yet sure if this is easy or not that easy.. |
14 April 2018, 20:42 | #7 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
I deleted my previous post because it was deemed unhelpful, but I was trying to point out that a scaling mismatch would manifest itself in the pictures you provided, Retro-Nerd. I know exactly what the problem is: if there is a mismatch in resolution (x and y) between your overlay and the screen resolution, then the banding patterns in your screenshots will occur. They'd have to be exactly the same, or multiples of 2 or 3 or more (integer numbers) to look sharp. It is not easy to fit an Amiga screen resolution this way onto that of a PC, laptop or desktop, invariably the screen area will be clipped at the edges or it will be too small and there will be big black borders.
|
14 April 2018, 20:48 | #8 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,444
|
Why did you do that? Now my post doesn't even makes sense. Deleted too.
|
14 April 2018, 20:51 | #9 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,989
|
Back when I wrote emulators, we used to just tile the overlay on after scaling and filtering. It didn't look great in all circumstances, but avoided banding.
|
14 April 2018, 22:31 | #10 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
|
10 February 2019, 18:52 | #11 | |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,444
|
Quote:
@Toni: Couldn't you just add something inofficial to the ini file for now? So that the PNG is a plain overlay, without the extra scaling inside the PNG frame? |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keep selected ADF files on Quickstart page | thomas | request.UAE Wishlist | 1 | 18 October 2013 15:47 |
Stand-alone playback of the selected content is not enabled ???? | thomas | support.WinUAE | 2 | 11 August 2013 10:30 |
Overlays + masks greyed out, cannot be selected. | Morris Schæffer | support.WinUAE | 4 | 06 January 2012 20:57 |
D3D problems (ATI HD2xxx) - scaling/scanlines/overlay. | galu | support.WinUAE | 3 | 09 February 2010 15:29 |
|
|