mapeditor / mapeditor/tiled

Add option to use smooth scaling regardless of current scale

Open
#3,801 3 comments 1 reaction 1 assignee View on GitHub

@keshav0479 is already working on this.

Since Feb 21, 2026.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

**Problem**

Currently Tiled determines whether to perform smooth scaling when rendering images based on the current zoom level. When it is 100%, 200%, 300%, etc., nearest-neighbor scaling is used and smooth scaling is only used when scaling down or for values in between.

In general, this makes the map look fine both when it is scaled down as well as when it is scaled up (especially pixel art). However, this logic predates the support for resized and rotated tile objects. When resizing or rotating tile objects, it can be desired to apply a smooth rendering algorithm regardless of the view scale.

**Solution**

The solution might be to add an explicit "Texture filtering" option (not sure about name), either in View menu or Preferences. Possible values could include "Nearest Neighbor", "Smooth" and "Auto" (the current behavior). In addition, when we keep "Auto" as the default behavior, it might be a good idea to enhance it a little, so that scaled-down tile objects are smoothly rendered.

This new option should also affect the "Export as Image" action.

The `tmxrasterizer` tool already applies smooth rendering by default and provides a `--no-smoothing` parameter to disable it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.