Sprite rendering bug

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By prosta4ock
:warning: Old Version Published before Godot 3 was released.

Help me please.
The problem with the sprite.
Why is presented effect?
I want to simply display images without any effect it.

does texture have transparent pixels border?
if not, try to make a transparent pixel border in texture.

volzhs | 2016-07-01 12:08

The problem is that the ball like shimmers.
He should just move.
Moving the ball on the display is not as it should be reflected.

prosta4ock | 2016-07-01 16:09

that’s how it should be.
just moving images without changing the image, without transfusion.

prosta4ock | 2016-07-01 16:41

It is pretty hard to see an effect in this gif… Maybe you could provide more details about what is happening and what are you doing and what are particular settings of a scene?

lukas | 2016-07-01 22:39

It looks like pixels are not smoothed correctly at some stage. Because pixels of the ball don’t exactly match those on screen (perhaps it is scaled, rotated, or the camera has zoom), the rasterizer picks the nearest one instead of averaging them, producing artifacts.
Did you tried to set filter to true on your texture resource?

Zylann | 2016-07-02 18:40