# How can I remove jagged edges from texture tiled over multiple instanced static meshes?

**URL:** <https://forums.unrealengine.com/t/how-can-i-remove-jagged-edges-from-texture-tiled-over-multiple-instanced-static-meshes/386976>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [March 5, 2017, 4:30am UTC](https://forums.unrealengine.com/t/how-can-i-remove-jagged-edges-from-texture-tiled-over-multiple-instanced-static-meshes/386976 "2017-03-05T04:30:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_626875051](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_626875051](https://forums.unrealengine.com/u/anonymous_user_626875051)\
**Post date:** [March 5, 2017, 4:30am UTC](https://forums.unrealengine.com/t/how-can-i-remove-jagged-edges-from-texture-tiled-over-multiple-instanced-static-meshes/386976/1 "2017-03-05T04:30:40Z")

</div>

I have created an actor BP which will generate a grid of Hexagon shaped Instanced Static Meshes. The purpose of this grid will eventually be to create a randomly generated hex grid map. However, since each instance of an instanced static mesh must have the same material as all of the others, I decided to make a material that would span a single image over all of the meshes to create one large image.

So far, I have been successful. I can span the image over all of the meshes. However, the resulting image has very jagged lines throughout (even though the original image does not).

I was wondering what I would need to do to get the image to be smooth, with no jaggedness.

I am not exactly a whiz with the material editor, so any suggestions will be appreciated.

Here is a screen shot of the material network:

 ![128733-tiledtextureexamplenetwork.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/1/fc1c9c4c77eeaa6fd284bd87b3c318414c012f4d.jpeg)

And here is the resulting image:

 ![128734-tiledtextureexample.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/4/cf4132b29bc6c93f82ffb1a6342f9878208377ac.jpeg)

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![Teapot\_Creation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Teapot\_Creation](https://forums.unrealengine.com/u/Teapot_Creation)\
**Post date:** [March 5, 2017, 11:29am UTC](https://forums.unrealengine.com/t/how-can-i-remove-jagged-edges-from-texture-tiled-over-multiple-instanced-static-meshes/386976/2 "2017-03-05T11:29:21Z")

</div>

Did you try to set up your material as World Aligned, using the size of your mesh as the size of the texture ?  
You’ll probably need to make some adjustments due to the units but it may work. It lets you setup a texture (note : use a texture object in material editor) aligned with the world axis.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_626875051](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_626875051](https://forums.unrealengine.com/u/anonymous_user_626875051)\
**Post date:** [March 9, 2017, 7:47pm UTC](https://forums.unrealengine.com/t/how-can-i-remove-jagged-edges-from-texture-tiled-over-multiple-instanced-static-meshes/386976/3 "2017-03-09T19:47:32Z")

</div>

A HA!  
This is what I was looking for! THANK YOU. It appears that all the above mumbo jumbo that I did was a waste of time and energy. Didn’t know that there was already a function which did pretty much what I was trying to do.

I did end up using WorldCoordinate3Way because it accomplished more of what I was going for, but I would not have even known it existed without your comment… so, Thank you thank you thank you!

---

<div class="post-metadata">

**Author:** ![Teapot\_Creation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Teapot\_Creation](https://forums.unrealengine.com/u/Teapot_Creation)\
**Post date:** [March 10, 2017, 8:26am UTC](https://forums.unrealengine.com/t/how-can-i-remove-jagged-edges-from-texture-tiled-over-multiple-instanced-static-meshes/386976/4 "2017-03-10T08:26:51Z")

</div>

You’re welcome 🙂  
There is a guy who made a world aligned rotator/offset node too, right there : [Material Function - World Aligned Texture/Normal With offset & Rotation. - Community Content, Tools and Tutorials - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?89524-Material-Function-World-Aligned-Texture-Normal-With-offset-amp-Rotation) (downladable function to add to your blueprint).
