I am using AndEngine (2D OpenGL-based engine). When i use textures with transparency (PNG images) i have image artifacts on the borders on image. I need help fixing this. I have attached 2 images. On first i have just text displayed using some font. On the second you can see the rounded corner but on the corner of the texture you can see the artifact as well. Please note that this occurs only on REAL device. On emulator all is OK. My device is Samsung i5700 Galaxy Spica running Android 2.1
I figured out the solution. The reason behind these artifacts was the texture filtering settings. I used TextureOptions.BILINEAR and TextureOptions.BILINEAR_PREMULTIPLYALPHA which caused the artifacts. I selected the TextureOptions.DEFAULT and the textures became crisp and without any artifacts. There's one drawback though. I have smooth sprite movement in my game. But with this new filtering setting(and texture crispness as a result) the sprite movement became not smooth... a bit choppy. Will need to create couple of TextureAtlases with different filtering options.