Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tilengine API questions
#7
I've finally had the time to check the Nearest Neighbor upscaling and there are some problems.

While the picture looks exactly as expected in non-CRT mode, the absence of vertical smoothing essentially breaks default CRT mode, making unwatchable aliasing artifacts.

It happens because current CRT emulation doesn't take into account the fact that its shadow mask RGB pixel columns are shifted vertically for 1/2 height.
Due to this shift, in reality, a horizontal line won't have sharp edges, but current CRT processing doesn't care about that, and some pixels will have different colors for their top and bot parts.
Previously, it was alleviated by vertical interpolation, making the picture smoother, and the above effect wasn't noticeable at all, but it's not the case when Nearest Neighbor upscaling is enabled.

The cheap workaround would be to ignore Nearest Neighbor upscaling flag when CRT mode is enabled, and apply it only when disabled.
I think that'll be enough to not to bother implementing better approaches (at least, for now).
Reply


Messages In This Thread
Tilengine API questions - by NeXT - 11-23-2017, 05:34 AM
RE: Tilengine API questions - by megamarc - 11-23-2017, 09:03 AM
RE: Tilengine API questions - by NeXT - 12-04-2017, 07:58 AM
RE: Tilengine API questions - by megamarc - 12-04-2017, 08:44 AM
RE: Tilengine API questions - by NeXT - 12-04-2017, 08:16 PM
RE: Tilengine API questions - by megamarc - 12-04-2017, 10:19 PM
RE: Tilengine API questions - by NeXT - 12-13-2017, 08:26 AM
RE: Tilengine API questions - by megamarc - 12-15-2017, 04:47 AM
RE: Tilengine API questions - by NeXT - 12-17-2017, 05:46 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)