- Home /
Black lines after using PackTextures()
I have a tiled based game and to increase performance I'm attempting to use PackTextures() to pack a lot of ground tiles into one texture and use the same material. I got everything working but my result ended up in black lines showing around the tiles. There are 6 different types of grass tiles, that are randomly chosen herein the picture below.
I tried adding padding to PackTextures with the same results. Does anyone know how to fix this?
Thanks!
Answer by SeikoTheWiz · Oct 05, 2012 at 10:29 AM
Your atlas has been resized You might be able to solve it by changing it's max size attribute
you can also add padding so that the textures don't overlap
Your answer
![](https://koobas.hobune.stream/wayback/20220613073934im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Small line appears on tilebased terrain 1 Answer
Can isometric tiles be rotated? 0 Answers
How to store tile's rotation? 1 Answer
My 2D tiles have holes in them 0 Answers
Why is my tile palette do messy?,Why is my tile palette all messy? 0 Answers