MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM
Re: Help perfect HLSL by fixing one pixel.™
01/04/14 10:22 AM


> Hi Smitt
>
> Thanks for the response.
>
> However, the new code is actually worse than the original. Not only are the solid
> black lines still in the bottom and right, but the scanlines themselves are
> completely trucked.
>
> Hover over the image to see the new version:
>
> http://screenshotcomparison.com/comparison/55805
>
> If you hover over the image, you can see the difference between the old and the new.
> The scanlines are completely off now. Those screenshots were taken with identical
> configuration settings.
>
> I'm on IRC if there's anyone willing to try a few things with me there to get it
> fixed in a short amount of time.

It's not clear that the scanlines are actually wrong. They look bad, but that will happen sometimes (maybe?).

If the resolution you're running at isn't a multiple if the number of scanlines drawn, then I guess they won't line up with the pixels and some could end up being drawn thinner/thicker because of this. This is probably a necessary consequence of decoupling the CRT simulation from the final output res. If that's what's going on, then the cure is simply: run at very high resolutions so the aliasing is less objectionable.

What happens if you run at other windowed resolutions? Or change the number of scanlines drawn with the scanline height options (Just for testing. You shouldn't really need to change these per game/system)?

I couldn't get HLSL working on my nVidia card (from SVN obviously) just now (but I've modified some of the shader files so that's probably my own fault) so I can't take a closer look right now.

Good luck!

Edited by SoltanGris42 (01/04/14 10:35 AM)







Entire thread
Subject Posted by Posted on
* Help perfect HLSL by fixing one pixel.™ nirv 12/14/13 08:58 PM
. * Re: Help perfect HLSL by fixing one pixel.™ SmitdoggAdministrator  01/04/14 05:29 AM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/04/14 08:18 AM
. * Re: Help perfect HLSL by fixing one pixel.™ SoltanGris42  01/04/14 10:22 AM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/04/14 11:43 AM
. * Re: Help perfect HLSL by fixing one pixel.™ SoltanGris42  01/05/14 01:08 AM
. * Re: Help perfect HLSL by fixing one pixel.™ B2K24  01/05/14 03:34 AM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/05/14 04:42 AM
. * Yeah. Can you believe the 'nirv' of that guy? [nt] Tomu Breidah  01/05/14 02:35 AM
. * Re: Help perfect HLSL by fixing one pixel.™ B2K24  01/04/14 12:13 PM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/04/14 02:10 PM
. * Re: Help perfect HLSL by fixing one pixel.™ MooglyGuy  01/04/14 07:59 PM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/04/14 08:08 PM
. * Re: Help perfect HLSL by fixing one pixel.™ MooglyGuy  01/04/14 08:11 PM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/04/14 08:19 PM
. * Re: Help perfect HLSL by fixing one pixel.™ MooglyGuy  01/04/14 08:22 PM
. * Re: Help perfect HLSL by fixing one pixel.™ John IV  01/04/14 11:04 PM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/04/14 08:37 PM
. * Re: Help perfect HLSL by fixing one pixel.™ B2K24  01/04/14 07:58 PM
. * Re: Help perfect HLSL by fixing one pixel.™ nirv  01/04/14 08:13 PM
. * Re: Help perfect HLSL by fixing one pixel.™ Firehawke  01/04/14 07:39 PM
. * Re: Help perfect HLSL by fixing one pixel.™ Tomu Breidah  01/04/14 04:38 PM
. * Re: Help perfect HLSL by fixing one pixel.™ redk9258  01/04/14 03:34 PM
. * Re: Help perfect HLSL by fixing one pixel.™ Tomu Breidah  01/04/14 11:57 AM
. * Re: Help perfect HLSL by fixing one pixel.™ Dr. Spankenstein  12/15/13 12:31 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 289 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3003