OpenXcom-vita icon indicating copy to clipboard operation
OpenXcom-vita copied to clipboard

Please add bilinear upscaling in the absence of opengl shaders.

Open yamspy opened this issue 5 years ago • 13 comments

Due to the lack of OpenGL shaders and the use of nearest neighbor upscaling there are some image distortions, particularly noticeable in the inventory and map screens.

yamspy avatar May 18 '21 13:05 yamspy

Sounds good to me. I might add an option for it in the config file. But I would actually recommend using 480x272 resolution with Display Mode set to "Fullscreen" and Geoscape Scale/Battlescape Scale set to "Full Display" for sharp looking image with x2 scaling.

Northfear avatar May 18 '21 13:05 Northfear

I decided to take a few screenshots to illlustrate what I meant, for some reason FMVs and the battlescape and map screens appear especially distorted, the rest of the game itself does not scale this poorly, I am not sure if those screens are scaled differently or what might be the cause of this. screen000 screen001 screen000 screen001 (top 2 are vita, bottom 2 are pc)

yamspy avatar Jun 06 '21 11:06 yamspy

I think I know what's the problem here. Use "Battlescape Scale" : "Full Display" with 480x272 resolution and "Original" with 320x200 320x200 with "Original" looks pretty good even w/o any filtering, so it's either resolution or scale setting that's wrong.

Northfear avatar Jun 06 '21 19:06 Northfear

The vita screenshots above were taken at 480x272 with "Full Display" selected, however I now tested 320x200 in "Original" and the map and inventory screens do appear less distorted now while the rest of the game only looks marginally worse, it's specifically the map and inventory screens that look this bad, the rest of the game during combat and in menus looks quite nice at 480x272 in "Full Display".

yamspy avatar Jun 06 '21 22:06 yamspy

Still sounds wrong to me. Here's an example of how things look in my case and a screenshot of my video settings. 2021-06-07-111517 2021-06-07-111458 2021-06-07-111356

Northfear avatar Jun 07 '21 08:06 Northfear

Nope, I tried again to set it to how it was and it still looks the same for me, I even rebooted without plugins to see if maybe that could be it, might our game files be different? (I am using v1.0-vita.2 with data files copied from a pc install of openxcom)

yamspy avatar Jun 07 '21 22:06 yamspy

Nope, I tried again to set it to how it was and it still looks the same for me, I even rebooted without plugins to see if maybe that could be it, might our game files be different? (I am using v1.0-vita.2 with data files copied from a pc install of openxcom)

No idea honestly. What version are you using? I've tested everything with GoG release only

Northfear avatar Jun 09 '21 12:06 Northfear

I also used GOG release but patched the data files when prompted by the openxcom pc installer, I'm using a vita 2000 on 3.65, if that matters.

yamspy avatar Jun 09 '21 15:06 yamspy

@yamspy could you send me your whole ux0:data/OpenXcom folder somehow? Only one way to test it I guess..

Northfear avatar Jun 11 '21 07:06 Northfear

I think I discovered the cause of the problem, I deleted all my files and re-installed everything and initially the problem did not occur, however setting maximizeInfoScreens to true in the options.cfg or via the advanced options menu seems to be what causes this. This odd scaling also seems to happen on the pc version when using 480x272 (though there it can be alleviated by display filters) but not when using 960x544. I am not sure if this could be fixed on the vita port or is now an upstream issue.

yamspy avatar Jun 11 '21 12:06 yamspy

Glad that you've figured it out. I've added bilinear filtering in the latest update too (in Display Filter dropdown), so I'm closing this one.

Northfear avatar Jun 11 '21 20:06 Northfear

I tried bilinear filtering and for some reason these screens are still distorted at 480x272 full display, but now I can run the whole game at 320x200 without uneven pixels, thanks.

yamspy avatar Jun 11 '21 20:06 yamspy

I tried bilinear filtering and for some reason these screens are still distorted at 480x272 full display, but now I can run the whole game at 320x200 without uneven pixels, thanks.

Probably due to some sort of ingame software scaling. Not much that I can do here unfortunately.

Northfear avatar Jun 11 '21 21:06 Northfear