I also got a description here from texturepacker programīorder/shape padding: The space between the border of the sprite sheet and the sprites themseves. I think this fix can be used for tilemaps, sprites used as tiles and tiling bg for use with letterbox scale and linear sampling This doesn't make the sprites bigger or changes the position(ingame) I didn't overlap or make the tiles bigger in the editor, its the same export, only on the second i made changes in the export texture-atlas (extend the last tilepixel border 1pixel where the 1px gap is on export) I agree this is not the best demo because some of the tiles are not oriented wright but if you compare the two demolinks, you should notice it pretty well. The seems are the flickering black lines between the tiles,(background is showing true) ![]() My suggestion would be, to be able to flag a sprite as tiling and then generate this textures with a 1px extrude, only question is, where the texture borders meet, do you extrude each 1px what means you need a 2px gap, but i guess thats the only way to do it.Īnyway i'm happy that i can continue without seams, yey! Same exact project with borders extruded (in photoshop) / no seams This is a real approach and its also used in texturepacker The fix: extrude 1px border from the texture outwards ![]() So i searched, and its like we know a problem of float position and bleeding of the texture, to prevent that, on export there is a 1 pixel border, this fixes the textures bleeding in each otherīut here's the thing, while it doesnt bleed in another texture, the 1px transparent border still bleeds into the texture, and thats the problem. While utterly sad and broken, i found it odd that seams only showed on export ![]() So i went thru with linear sampling and to my suprise i had no real seaming while running previews on pc and mobile,that is until you finally export. I was aware of the seaming problem when using something other then point sampling, but i dislike the jittery motion it gives,and it gives the impression of bad performance
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |