# Visible seams basing on distance

**URL:** <https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579>\
**Category:** Rendering\
**Tags:** seams, weird, unreal-engine, question\
**Created:** [September 27, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579 "2015-09-27T20:14:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0345a438](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0345a438](https://forums.unrealengine.com/u/anonymous_user_0345a438)\
**Post date:** [September 27, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/1 "2015-09-27T20:14:06Z")

</div>

Hey!

I’ve got a weird problem with my character textures. The point is that when the camera is pointing my character from the close distance texture looks just fine. But when when camera is a little further(I want camera to be kind of far), i’m getting visible seams. I’ve got three textures on this character(base, spec and normal) and I think base texture is culprit.

Here is the picture from close. You can actually see seam on hair but it looks fine.

![60445-wrongseams2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/7/83742ebcf663c8786d6d4c9482a628a1e5560c40.png)

And here are pictures from further. Seams start to look more terrible

![60448-seamswrong2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/3/5d335ea95c4ce57887daea6b9834dd0e82ed9560.png)

![60449-seamwrong.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/b/23bb050d16867f00fb102547ad4c0496354b5920.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0345a438](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0345a438](https://forums.unrealengine.com/u/anonymous_user_0345a438)\
**Post date:** [September 28, 2015, 7:23pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/2 "2015-09-28T19:23:51Z")

</div>

Bump, I still can’t get it working properly.

---

<div class="post-metadata">

**Author:** ![RyanB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanB](https://forums.unrealengine.com/u/RyanB)\
**Post date:** [September 28, 2015, 8:48pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/3 "2015-09-28T20:48:46Z")

</div>

Are you mirroring the texture by any chance? Looks like mip maps bleeding from another side of the texture that does not match in brightness.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0345a438](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0345a438](https://forums.unrealengine.com/u/anonymous_user_0345a438)\
**Post date:** [September 29, 2015, 8:22am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/4 "2015-09-29T08:22:46Z")

</div>

No, I’m not mirroring it. Here is this texture(of a body).

 ![60664-diff_body.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/7/f67cf43f910c5944a288f4c9eb5ea758cbe61d70.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0345a438](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0345a438](https://forums.unrealengine.com/u/anonymous_user_0345a438)\
**Post date:** [October 1, 2015, 5:30am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/5 "2015-10-01T05:30:55Z")

</div>

Bump2. I"m trying changing options in texture details but without luck.

---

<div class="post-metadata">

**Author:** ![DeFRaGZoR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/defragzor/32/897070_2.png) [@DeFRaGZoR](https://forums.unrealengine.com/u/DeFRaGZoR)\
**Post date:** [January 10, 2018, 10:09pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/6 "2018-01-10T22:09:12Z")

</div>

Yep, the same bug. I’ve seen it before inside Unity3D engine. I’d like to see the ideas too. I bet its should be some options about of a camera or a model. But I think its should be camera, because its ok on a close distance

---

<div class="post-metadata">

**Author:** ![DeFRaGZoR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/defragzor/32/897070_2.png) [@DeFRaGZoR](https://forums.unrealengine.com/u/DeFRaGZoR)\
**Post date:** [January 10, 2018, 10:20pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/7 "2018-01-10T22:20:04Z")

</div>

Its looks like I was wrong, and its material settings. 99% its a material options

---

<div class="post-metadata">

**Author:** ![DeFRaGZoR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/defragzor/32/897070_2.png) [@DeFRaGZoR](https://forums.unrealengine.com/u/DeFRaGZoR)\
**Post date:** [January 11, 2018, 10:32pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/8 "2018-01-11T22:32:03Z")

</div>

Yes. I’ve checked almost everything. And I fixed mine texture today with adding a several pixels on the edge of UW seam. So basically in a production texture should be created with an overlap of a few pixels about 5-10 pixels on the edge of a seam to add more texture depth to it, because engine should read the edges on a range. But I think its should be other fixes like an adding and additional mask map to the model, like you gonna paint inside the engine, but its gonna be heavy for a game. So the best way to remove the seams is to add a pixels to the edge of a seam

---

<div class="post-metadata">

**Author:** ![Nadia\_GM1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nadia\_GM1](https://forums.unrealengine.com/u/Nadia_GM1)\
**Post date:** [July 8, 2021, 3:27am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/9 "2021-07-08T03:27:51Z")

</div>

I know its an old post but in case someone like me found it here are some possible solutions that worked for me. Make sure the diffuse texture has infinite padding around it. Second check the mipmap settings, putting it to no mipmaps sometimes worked for me.  
Cheers

---

<div class="post-metadata">

**Author:** ![simulacrumgames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/simulacrumgames/32/482168_2.png) [@simulacrumgames](https://forums.unrealengine.com/u/simulacrumgames)\
**Post date:** [July 6, 2022, 9:08am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/10 "2022-07-06T09:08:44Z")

</div>

**This post only lists a terrible hack you can do, if you’re doing something that needs actual good runtime performance, you should fix the source of the problem**

I see the same thing. Either setting Mip Gen Settings in the texture to one of:

NoMipMaps  
Angular

And I also had to convert any virtual textures to regular textures.

Got rid of the seams for me. Of course, adding padding is a way better solution, but I was generating textures for characters from Quixel Mixer.

---

<div class="post-metadata">

**Author:** ![Heigl\_KFP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/heigl_kfp/32/250867_2.png) [@Heigl\_KFP](https://forums.unrealengine.com/u/Heigl_KFP)\
**Post date:** [December 11, 2022, 4:55pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/11 "2022-12-11T16:55:20Z")

</div>

Can confirm, setting the _Mip Gen Settings_ in the texture browser of UE5 (under _Level of Detail_) to “_NoMipmaps_” solved the issue

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 11, 2022, 6:46pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/12 "2022-12-11T18:46:12Z")

</div>

That’s not a solution.  
You need mips to prevent bad performance.

What the most common issue with seams on SKM is, is bad roughness maps.  
The second, is bad normal maps.  
The third, is not having properly set up the mesh to recalculate normals.

Past that, any other maps applied to the mesh - specularity? - could be at fault too and should be checked off before biasing mips.

After all of that, if you still get issues, Bias the mips instead of just removing them all…

---

<div class="post-metadata">

**Author:** ![Heigl\_KFP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/heigl_kfp/32/250867_2.png) [@Heigl\_KFP](https://forums.unrealengine.com/u/Heigl_KFP)\
**Post date:** [December 14, 2022, 1:58pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/13 "2022-12-14T13:58:57Z")

</div>

A very valuable input, many thanks my friend!  
The textures I am using (diffuse, specular AND normal map) are baked outside of Unreal avoiding the blending process with 2 textures and 1 opacity map  
So on close range, the baked texture does what it should, but in the distance it breaks when MidMaps are generated - even if I just apply the diffuse texture without the spec and normal  
Any idea what could cause the problem?

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 14, 2022, 5:05pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/14 "2022-12-14T17:05:54Z")

</div>

First, make sure your model UVs are right.  
To avoid a seam the line needs to actually share the same UV coordinates.  
In case it can’t- say a character skin - then you need the UV to be aligned to the pixel center of a 2k texture, so that both sides can share the same pixel color.  
DCC have better UV and Material precision, so it isnt uncommon to not see an issue in them.

When/if you think the model is sound, throw it in the engine and put a fully rough black on it.

If you see a seam now, the model normals are wrong. You should really correct them in a dcc, but on skinned meshes you can set up to recalculate from normals.

If/when black shows no seams, you try the texture.  
If you get seams, first edit the texture to have the same color, which will likely fix it.  
If not, only then do you bias the mip values…

---

<div class="post-metadata">

**Author:** ![Heigl\_KFP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/heigl_kfp/32/250867_2.png) [@Heigl\_KFP](https://forums.unrealengine.com/u/Heigl_KFP)\
**Post date:** [December 16, 2022, 4:07am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/15 "2022-12-16T04:07:23Z")

</div>

Thanks very much, your help is highly appreciated! My applying any linear color, no seams are visible - everything is perfect even in the distance.

“Edit the texture to have the same color”  
Well it kinda has when it doesn’t show any seams in close-up? It appears to me that a shadowed outline occurs but turning off “Cast Shadows” didn’t fix it (and is not a real solution…)  
The faulty material is an instance of the main one just with diffuse, spec and normal textures swapped - which got baked to perfectly match everything  
Hmm…

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 16, 2022, 10:50pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/16 "2022-12-16T22:50:45Z")

</div>

Could be the UVs themselves - AND only for one specific texture.  
Thats why you have to eliminate options as you go…

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [December 17, 2022, 4:02am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/17 "2022-12-17T04:02:53Z")

</div>

After seeing your texture I can say for almost certain this is an issue of padding. When your texture mips, the skin tone color will begin filtering into the hair color. Padding is a technique of adding extra colored pixels outside of the polygons UV space - coloring outside the lines so to speak. This makes sure that when the mips are created, the blur doesn’t blend in an undesired color.  
In the areas around the hair on the back of the head, simply expand the dark brown hair color instead of reverting straight back to the skin color.  
A different UV layout can also help but won’t be needed if you have appropriate padding.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 17, 2022, 4:06am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/18 "2022-12-17T04:06:48Z")

</div>

Define “padding”.

And that may have neen the case for Op, 2 years ago. Probably won’t help others though.

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [December 17, 2022, 4:20am UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/19 "2022-12-17T04:20:00Z")

</div>

Padding aka dilation. Probably will help others if they are getting distance based seams as its a pretty common mistake for inexperienced artists which is made apparent by the fact this thread keeps getting necrod. One of the other comments mentions and glosses over it but it’s a pretty important part of texturing.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 17, 2022, 7:10pm UTC](https://forums.unrealengine.com/t/visible-seams-basing-on-distance/333579/20 "2022-12-17T19:10:44Z")

</div>

Depends, usually a good UV map does well without having to extend the edge of the texture’s pixel so long as it is kept in a power of 2 mode.  
But It is actually something that occurs in relation to the initial size the UV is mapped to.

So yea, for character textures, it’s probably better to have it than not.
