SFML community forums
Help => General => Topic started by: MrKasimov on August 16, 2018, 12:08:06 pm
-
Hello, I am new here. Tried to search the problem, but had troubles identifing it. In my project zooming out affects the way backgroung sprite is shown. No code here because implementation of zoom and sprite is standart.
(https://preview.ibb.co/jC2WVp/stand.png) (https://ibb.co/hkREi9)
Normal zoom. Repeated texture of background.
(https://preview.ibb.co/dzc1wU/glith.png) (https://ibb.co/kJRuGU)
After zooming out. Wrong proportions. Could someone define the nature of the problem and help me, please?
-
Zooming out of course you'll end up having artifacts like that on repeating patterns zoomed out?
Does generateMipmap or setSmooth from sf::Texture help? I tried quickly and mipmaps didn't help but set smooth did.
You can try shaders too.