Skip to content

Feature request: Add an option of enable Linear mipmap filtering for tilesets/unit sprites #10845

Closed as not planned
@IVENEND

Description

Before creating

  • This is NOT a gameplay feature from Civ VI, BNW, or outside - see Roadmap
  • This is NOT a gameplay feature from Vanilla Civ V or from G&K - If so, it should be a comment in Missing features from Civ V - G&K #4697

Problem Description

Currently, the tileset graphics/unit sprite graphics are all using nearest neighbor filtering.

This causes graphic distortion when the game is doing non-integer scaling, and the game is nearly always doing non-integer scaling... That really bugs me.

This is particularly noticeable in graphics that take the form of diagonal lines. As you can see in the sceenshot below, the sword of the Hakkapeliitta is distorted:
unciv-hak

This is also somewhat noticeable in graphics that take the form of vertical lines. As you can see in the sceenshot below, the Pike of the Pikeman is distorted, the black vertical lines have different width:
unciv-pike

Using Linear filtering for tilesets/unit sprites can fix this issue. It will also make the graphic a bit more smooth (people who don't like it may call it "blurry" though.) I understand that this might be somewhat a matter of personal taste. So I think the best solution might be adding an option in game advanced settings, to allow players choose between Linear filtering and nearest neighbor filtering.

Related Issue Links

No response

Desired Solution

Add an option of enable Linear filtering for tilesets/unit sprites in option menu.

Alternative Approaches

Ensure the game always do integer scaling for tilesets/unit sprites?

Additional Context

No response

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions