I have a problem with scaling.

I have a problem with scaling.
0.0 0


I scale a sprite and a tile map with same factor, but the quality is not the same.

Each left is a sprite. Each right is a tile map.

Why when scale up a sprite is not sharp as a tile map?


I haven’t noticed it before.
It seems that sprite enables antialias.


Well, is there any solution to fix this?


I found that, in TMXLayer::setupTiles(), it invokes _textureAtlas->getTexture()->setAliasTexParameters();. So it looks so sharp. You can apply that function to Sprite to be sharp. The codes looks like



Thank you so much. You made my day. :slight_smile:


My pleasure:)