Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Product Version: Not Selected
seam.png (400.5 kB)
tiles up close.png (518.4 kB)
more ▼

asked Mar 18 '15 at 06:36 PM in Rendering

avatar image

10 3 4 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Jul 17 '15 at 07:22 PM

avatar image

10 3 4 7

avatar image choel Aug 03 '15 at 08:12 PM

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

avatar image Nik100o Aug 03 '15 at 08:29 PM

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.

avatar image nonchip Jun 08 '18 at 01:11 AM

you do realize literally the only thing you didn't answer is the question? :P

avatar image nspidel.skybox Nov 17 '16 at 01:47 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question