# Tiling part of a UV Mapped Texture during Mesh Scale (UE 5.1)

**URL:** <https://realtimevfx.com/t/tiling-part-of-a-uv-mapped-texture-during-mesh-scale-ue-5-1/21959>\
**Category:** General Discussion\
**Tags:** texture, unreal-engine-5, unreal, materials\
**Created:** [January 10, 2023, 10:51pm UTC](https://realtimevfx.com/t/tiling-part-of-a-uv-mapped-texture-during-mesh-scale-ue-5-1/21959 "2023-01-10T22:51:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbastien](https://realtimevfx.com/letter_avatar_proxy/v4/letter/b/e68b1a/32.png) [@bbastien](https://realtimevfx.com/u/bbastien)\
**Post date:** [January 10, 2023, 10:51pm UTC](https://realtimevfx.com/t/tiling-part-of-a-uv-mapped-texture-during-mesh-scale-ue-5-1/21959/1 "2023-01-10T22:51:15Z")

</div>

I have a bridge segment. It’s a nice bridge segment:

 ![2023-01-10_17h45_21](https://realtimevfx.com/uploads/default/original/3X/5/3/5399b19c1dceb1de12e1c2dba8692a6194b75748.jpeg)

My goal is to scale the bridge (lengthwise, only one axis - X) so it can be longer or shorter pieces to cover different areas/gaps.

The bridge is UV mapped, and other parts of the bridge share the texture:

 ![2023-01-10_16h38_00](https://realtimevfx.com/uploads/default/original/3X/2/b/2b7aead2ffb3c3fda588db55e69d68d8e204fd3f.png)

I tried locking the texture scale on that axis, but the UV mapping outside this segment is showing in the scaled up surface:

 ![2023-01-10_16h38_14](https://realtimevfx.com/uploads/default/original/3X/c/b/cb3b0e68e826b8b11fb05f7c9b3ec580c1532ac5.jpeg)  
 ![image](https://realtimevfx.com/uploads/default/original/3X/7/b/7bda1050241db0050bcf719ae69ab3fba5bddcce.png)

What would be a good way to be able to scale up this static mesh, but it only uses its mapped UV areas? Am I asked too much or does this need to be its own perfect square texture?

I’m in UE5.1

---

<div class="post-metadata">

**Author:** ![Travis](https://realtimevfx.com/user_avatar/realtimevfx.com/travis/32/9559_2.png) [@Travis](https://realtimevfx.com/u/Travis)\
**Post date:** [January 10, 2023, 11:23pm UTC](https://realtimevfx.com/t/tiling-part-of-a-uv-mapped-texture-during-mesh-scale-ue-5-1/21959/2 "2023-01-10T23:23:16Z")

</div>

Having your texture tileable in at least one direction would certainly make things easier (On X would be preferable since you only plan to scale the mesh on X as well). If you had it set up as such, then I could share an easy solution to get the result and control you’re looking for

---

<div class="post-metadata">

**Author:** ![bbastien](https://realtimevfx.com/letter_avatar_proxy/v4/letter/b/e68b1a/32.png) [@bbastien](https://realtimevfx.com/u/bbastien)\
**Post date:** [January 11, 2023, 12:17am UTC](https://realtimevfx.com/t/tiling-part-of-a-uv-mapped-texture-during-mesh-scale-ue-5-1/21959/3 "2023-01-11T00:17:51Z")

</div>

I’m actually going to rework it so it’s tileable on the x. I would very much like to see your solution!

---

<div class="post-metadata">

**Author:** ![raytheonly](https://realtimevfx.com/user_avatar/realtimevfx.com/raytheonly/32/17774_2.png) [@raytheonly](https://realtimevfx.com/u/raytheonly)\
**Post date:** [January 11, 2023, 8:30am UTC](https://realtimevfx.com/t/tiling-part-of-a-uv-mapped-texture-during-mesh-scale-ue-5-1/21959/4 "2023-01-11T08:30:15Z")

</div>

Hello bbastian,  
I think the best solution is to create a good trim sheet, as it should solve this problem. If it is properly planned out, you can use it for a bunch of other assets too. Here is a nice clean guide for that: [https://www.artstation.com/blogs/jennifermcgarry/yd4Q/jenns-guide-to-trim-sheets](https://www.artstation.com/blogs/jennifermcgarry/yd4Q/jenns-guide-to-trim-sheets)  
But there are plenty of other resources that might fit your workflow better.

One sidenote: It might save drawcalls, if you repeat using the same segement without rescaling, as it can be instanced/batched together then, if you have a hand full of pieces, that are different scales everytime, this should not work. (I do not now the actual usecase, so this might not be effecting you)

---

<div class="post-metadata">

**Author:** ![bbastien](https://realtimevfx.com/letter_avatar_proxy/v4/letter/b/e68b1a/32.png) [@bbastien](https://realtimevfx.com/u/bbastien)\
**Post date:** [January 12, 2023, 3:57pm UTC](https://realtimevfx.com/t/tiling-part-of-a-uv-mapped-texture-during-mesh-scale-ue-5-1/21959/5 "2023-01-12T15:57:47Z")

</div>

That was a great read. Funny how I’ve known bits and pieces of that process but never a name to call it or the missing pieces in the process. So helpful.

Once clarification though, you are saying that if I have two bridge segments same Z,Y but different on X axis (small filler piece and one large big span piece) those two can’t be instanced/batched, so there is come balance here using set piece sizes?
