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?
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?
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)
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…
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.