Problem with Isometric Tiles (holes / artefacts)

hi,

i have problems with isometric 2d tiles.
they should align perfectly, but i get holes/artefacts at the border of the tiles (gray lines => see image).
i tried the “pixel snap” setting of the sprite shader and point filtering, without success.
does anyone have an idea?

Can you post a screenshot of your import settings for the tiles? Do you notice the same artifacts inside the sprite editor?

here’s a screenshot of the import setting of the grass tile.

Change Bilinear to Point and you won’t have artifacts. Use Point for sprites to get that pixel perfect look at any distance.

i tried point filtering, but the gaps won’t disappear :frowning:

Do you have anti aliasing on? Try to disable it if is enabled.

Are you 100% certain the tiles don’t have the lighter borders in them? If you’ve turned off anti-aliasing and enabled Point filtering then you shouldn’t notice any artifacts. Would it be possible for you to upload your grass tile so I can throw it in a project and debug it?

here, is the grass tile.
i disabled anti-aliasing and tried point filtering, no luck.

1480679--81972--$grass.png

Hi!

I’m not an expert on this but could it be fixed if you remove or replace these half transparent pixels around your isometric tile?
Here’s a screenshot of the alpha-layer of your tile:
(easy to see with Pixelformer)
1480768--81984--$Alpha-layer.jpg

I found your post because I’m trying to do the same thing you just did but all done in c#. Did you create the tiles by code by any chance? I’m puzzled and can’t get it done yet…

1480768--81983--$Alpha-layer.png

ah ok, the half transparent pixels could be a problem.
no i downloaded the tiles from opengameart.org.
and they have been used in some samples ( flash ) without the gap problem.
that’s why i’m puzzled.
i align the tiles in a script ( 2d coord to iso conversion Creating Isometric Worlds: A Primer for Game Developers | Envato Tuts+ ).
and imho there should be no gap.

I would saythe problem is either with that semi transparent border on the tile or how the tiles arebeing placed. Back when I was toying with isometric stuff in 2d I had to setup the camera in unity for isometric projection by rotating its transform.