Assets in atlas stretch 1 pixel to every side

I recently started using Defold, and when I try to make an atlas with my pixel art assets, the end pixels of every image get stretched, and makes the image look wrong, is that normal?

Defold automatically adds extra pixels around each image in an atlas to avoid rendering issues, but they won’t show up in-game. It’s controlled by the Extrude Borders property which the manual describes as:

The number of edge pixels that should be repeatedly padded
around each image. When the fragment shader samples
pixels at the edge of an image, pixels of a neighbor image
(on the same atlas texture) may bleed over. Extruding the
border solves this problem.
4 Likes