Premultiplied alpha in sprites?

I’m having some problems working with sprites. Here i’m pointing to a sprite of a perfectly white circle against a white background from a texture atlas in PNG with no compression, but I see dark edges on the border of the circle.

When working with textures in 3d modes I can solve this type of problems unchecking the Premultiplied alpha option in the opacity section of the material, but I don’t have that option when working with sprites.
alfa

Any ideas?

Thanks in advance

Thanks Yaustar, this helped me find a solution using Photoshop.

I duplicated the RGB layer to create a new alpha channel. Then I applied a 1-pixel Stroke (set to Outside) on the RGB layer. That slightly extruded the image while keeping the alpha channel at its original size, and fixed the issue.

image

1 Like