Hi, I’m trying to make a tilemap shader, but get weird artifacts on the edges of tiles (the picture shows an isometric tile shape, but the artifacts can be seen at any tile shapes, even plain old square grids).
The calculated tilemap UVs (in the second picture) do not exhibit this glitch, so I suspect something is wrong in the tex2D() call.
An idea why this is happening / how to fix it?

3137590–237932–TileMapTest.zip (499 KB)