Hazeron Forums
Methods for upscaling game buttons - Printable Version

+- Hazeron Forums (https://hazeron.com/mybb)
+-- Forum: Shores of Hazeron (https://hazeron.com/mybb/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=17)
+--- Thread: Methods for upscaling game buttons (/showthread.php?tid=3015)



Methods for upscaling game buttons - Celarious - 12-15-2023

On the "Window" tab of the game settings, you can set the UI buttons to Tiny/Small/Medium/Large

I noticed most of the buttons' native size is "Tiny", so when the option is set to anything above tiny, they become blurry and look bad. I'm guessing the interpolation method being used for the scaling is either bicubic or bilinear, which "smooths" out the image, making a lot of the buttons look outright bad at larger sizes

It may be better to use nearest neighbour interpolation, if Qt (or whatever is doing the scaling) supports that, because it preserves the crisp details

I tested this with one of the Construction window buttons, I took its "Tiny" size, upscaled it by 200% using NN scaling and it came out perfectly:
[Image: ManufactureCategory.png]


RE: Methods for upscaling game buttons - Deantwo - 12-17-2023

Also, please change the default UI button size to small or tiny. It looks crazy when you open the game for the first time and all the buttons are freaking huge.