Project: Paper2D

Hi ,

I was able to reproduce with your project and spent some time digging into geometry generation to see if there were any gaps, but vertices across gaps are identical (to float tolerance), so I re-examined tile texture and that’s root cause even after your efforts to pad it. issue is that expansion areas have 0 alpha, so in cases where it would have previously sampled wrong color from an adjacent tile, it now samples 0 alpha, so it renders background instead of adjacent tile.

If I replace material with an opaque one, or fill tile map texture with a solid color, keeping all other things constant, gap goes away. See attached pictures.

OriginalWithGap.pngAllOpaque.pngSoldColor.png

I will investigate adding a ‘prepare for filtering’ command to convert a tile map with no padding into one that is appropriately filtered for some level of zooming. There’s also a possibility that there is a setting in Texture Packer that would feather alpha out as well.

Cheers,