Page 1 of 1

Proper scaling/smoothing of Mod Thumbnails

Posted: Mon Dec 23, 2019 3:23 am
by raiguard
When making a thumbnail for my new mod, I noticed that the mod thumbnail sprites do not appear to be smoothed/filtered/scaled properly. The game obviously supports proper scaling/smoothing, so it would be nice if the thumbnails could receive this treatment.

100% GUI scale, 100% resolution thumbnail (144x144):
Image

100% GUI scale, 200% resolution thumbnail (288x288):
Image

200% GUI scale, 100% resolution thumbnail (144x144):
Image

200% GUI scale, 200% resolution thumbnail (288x288):
Image

I filed this under suggestions because it's not really anything that breaks the game, but would be an improvement.

Re: Proper scaling/smoothing of Mod Thumbnails

Posted: Sat Feb 08, 2020 5:41 pm
by raiguard
Bump. I've run into this issue again with my new Recipe Book mod. The icon looks absolutely HORRIBLE at anything except 2x GUI scale.

Re: Proper scaling/smoothing of Mod Thumbnails

Posted: Sat Feb 15, 2020 12:42 pm
by Rseding91
You want mipmaps for your icons; the same way the base game defines them for several of the GUI icons in base.

Re: Proper scaling/smoothing of Mod Thumbnails

Posted: Sat Feb 15, 2020 8:09 pm
by raiguard
This is the mod thumbnail though, it's not a sprite definition and therefore doesn't support mipmaps AFAIK. Simply formatting it as a mipmapped icon just breaks the entire thing:
2020-02-15 13_08_42-Window.png
2020-02-15 13_08_42-Window.png (26.25 KiB) Viewed 683 times
I include and define mipmaps for all of the icons I use in my mods, so I am very much aware of how they work. :)