Open GoogleCodeExporter opened 9 years ago
The reason is the BILINEAR filtering TextureOption.
For automated padding between TextureRegions, use a BuildableTexture and pack
it with a BlackPawnTextureBuilder and a padding of 1.
try {
buildableTexture.build(new BlackPawnTextureBuilder(1));
} catch (final TextureSourcePackingException e) {
Debug.e(e);
}
Original comment by NicolasG...@gmail.com
on 9 Jun 2011 at 3:19
[deleted comment]
This does not work.
I've got a buildable atlas with a single texture source on it, packed with the
black pawn texture builder with 1 pixel padding, and I still see 1 px lines on
some of the edges.
The only thing that fixes it is turning off bilinear, but then anything scaled
looks hideous
Original comment by whal...@gmail.com
on 14 Nov 2011 at 2:43
I was able to fix this problem with the diff I posted here:
http://www.andengine.org/forums/gles1/black-lines-around-sprites-t5255-20.html#p
27988
This may be gone with the AndEngine GLES2, but I am too close to release to try
this out ;)
Original comment by deh...@gmail.com
on 7 Jan 2012 at 5:05
Original issue reported on code.google.com by
Oren.Bengigi
on 3 Jun 2011 at 12:55