Set default image filter to ("linear", "nearest")?

Issue #769 wontfix
created an issue

From what I've seen, a lot of games include an "8-bit" sort of graphical style. In this case, often the user has to set the image filters so that it uses nearest-neighbor scaling when scaling up, otherwise it makes the image look blurry and unattractive.

However when scaling down, linear scaling is indeed favorable as to make sure the image doesn't look like a fragmented mess of pixel vomit.

I can understand that the logic behind making both filters "linear" by default that the image would be smoothed out, but LÖVE's scaling isn't exactly favorable going up, especially considering the common standard of "8-bit" graphical styles in indie games. Obviously you can set the default image filter yourself, but regardless, would it not make sense to set LÖVE's filter to a default that works in favor with more game devs?

Comments (1)

  1. Alex Szpakowski

    I think this might be more confusing than helpful. Many games use nearest-neighbour filtering for most things, but a lot don't.

    For many situations things will look much worse with nearest-neighbour than with linear filtering, but it will be hard to figure out why it looks bad unless you know exactly what to look for.

    For example, particle systems often use images which are often scaled larger than their original size but are expected to stay smooth. Many uses of canvases involve taking advantage of linear filtering when upscaling.

    Keeping both the minification and magnification filters as 'linear' by default is more consistent as well, and I suspect it's what most people will expect the defaults to be.

  2. Log in to comment