Visible seams between tiles in tiled map

I have a level with a grid of tiles that is instantiated at runtime, and the issue I’m having is that when the camera is at a certain angle and distance from the grid, there are visible black lines where some of the tiles touch. They are not visible when the camera is close, only when a relatively far distance away. These lines show up regardless of scalability options, as far as I can tell. What could be done to alleviate this issue?

I thought I’d update this in case it might help someone. I fixed the issue by scaling up the size of each tile by 1.001.

What specifically did you scale? I’m not sure where to find the scale to which you were referring.

I’m using C++ for my game, so for each individual tile that I placed, I wrote:

SetScale3D(new FVector(1.001f, 1.001f, 1.001f));

Just set the 3D scale of each tile to a value slightly higher than 1.

So, where would that be put in C++?

you do realize literally the only thing you didn’t answer is the question? :stuck_out_tongue:

My god this issue has been plaguing me for weeks but i finally found the answer!!!
You have to go in the content browser, right click your TileSet(s) and click “Condition Tile sheet texture”

This will basically add padding around the tiles and replace the current TileSet.
Hope people see this.

4 Likes