I was making a loadingbar and just changed the scale to make the effect but this happend:
The less stretched the image is the clearer it is
(Image I was using:
How do you fix this without changing sprites?
I was making a loadingbar and just changed the scale to make the effect but this happend:
The less stretched the image is the clearer it is
(Image I was using:
Adding extrusion in your atlas for the bar should fix this. It happens because of texture space bleeding. You might also want a new custom material with filtering disabled to preserve hard edge but might not need that.
If this is in the GUI you can use slice-9 settings as well. Check out the docs for details: https://www.defold.com/manuals/gui/#_slice_9_texturing
I had the same issue which was related to mipmapping when I scaled down a node that was too big when using the default size. Of course the best option is to create a smaller texture, but you could also texture mipmapping for the atlases you use in GUI through texture-profiles. So if 9-slicing doesn’t help you, then I would look at that.