# Is there a trick to laying out UV in a way that Unreal won't mess it up?

**URL:** <https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868>\
**Category:** Rendering\
**Tags:** uvs, uv, unreal-engine\
**Created:** [February 8, 2025, 12:11pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868 "2025-02-08T12:11:14Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 8, 2025, 12:11pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/1 "2025-02-08T12:11:14Z")

</div>

I have one 4k texture set for a whole bunch of assets at once:

 ![Untitled](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/9/5d977d2aaf6c5edcb5ccbf0d7e38f6bb0aff1a0d.png)

The problem is, inside Unreal unless I toggle “use full precision UVs” on most of those assets, the textures look warped in some parts and/or lose important details like edge highlights and normals in correct places.

 ![Untitled-1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/a/d3a5d7fd461cf976f00666389075181b42082237.png)  
 ![Untitled-2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/3/cb3ad8b5d405493bfbecff437a234e3c5fd775f1.png)

I would imagine that having hundred of meshes with “full precision UVs” is not great. I don’t think it’s gonna matter THAT much, but still it’s worse for optimization as a matter of fact.

Is there some trick to laying out UVs in a way that would minimize impact of Unreal rounding up UV coordinates from 32 bit to 16 bit?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 8, 2025, 2:21pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/2 "2025-02-08T14:21:26Z")

</div>

Are you sure the textures aren’t down-sampled after the import happens? (set to a lower resolution than the source).

This would make the texture have less pixel density causing it to seem stretched and become slightly blurry. It could also move the pixels near the island edges.

You could also use UDIMs to go out of the 0-1 range and precision wouldn’t be that much of a factor.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/1/501e7841335fec268cd67207d1fbd86c78680313.jpeg "Enable UDIM in Unreal in Two Minutes! (4.26)") ](https://www.youtube.com/watch?v=t-eG2TDU048)

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 8, 2025, 4:08pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/3 "2025-02-08T16:08:58Z")

</div>

Nah, it’s not the first time I encounter this. But usually it’s maybe one or two assets per pack that require full precision UVs to be toggled.  
This time, however, since it’s a lot of different modular pieces packed into single 4k texture, a bunch of them required full precision UVs to be toggled.

From the documentation:

> By default static meshes use half precision (16 bit) UVs in order to save memory. Enabling this option forces the mesh to use full precision (32 bit) UVs. This might be needed for certain cases when seeing artifacts with texture mapping the mesh.

If I somehow managed to downsample 4k texture, it would’ve been extremely noticeable on the props, because it halves texel density. So it’s not that.

I was thinking maybe there’s some sort of tech or a trick that I’m not aware of, that would help to unwrap UVs in a way that Unreal won’t need to approximate the coordinates.

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [February 8, 2025, 4:30pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/4 "2025-02-08T16:30:46Z")

</div>

according to google maya has an option called pixel snap. to center or to corners. this is present in most other popular modelling tools aswell. this avoids loss of precision due to subpixel, or better said, subtexel uv locations. this rounding error is what distorts it in unreal. the 16 bit float format has limited numerical precision for those subtexel locations. pixel snap should reduce that error. you gotta do it before you paint tho. so… this is an advice for the future assets. probably not this uv sheet.

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 8, 2025, 4:53pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/5 "2025-02-08T16:53:38Z")

</div>

Hm… I didn’t even know how to correctly formulate my google search for what I’m trying to solve. So my results never gave me any info about pixel snap.  
However, now that I googled pixel snap itself, I should give it a try in the future (I’m not gonna re-bake every single texture in my asset pack now 😃 ).

The problem is, I can’t seem to find any info on how to snap all the UVs to pixels automatically… Everything that I see is manually snapping individual UV’s to either pixel corner or pixel center.

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [February 8, 2025, 4:57pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/6 "2025-02-08T16:57:59Z")

</div>

dunno how maya does it, rn. if it works like blender, you just select all of it and drag it lil for it to recalculate and autosnap all of it.

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 8, 2025, 5:04pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/7 "2025-02-08T17:04:46Z")

</div>

Unfortunately, it works the same way as with other snapping options - if I select all the UVs I want to snap to pixels and move it, it will just snap the pivot point of my selection, meaning I’m simply moving all the selected UV’s per pixel, while keeping them at the same distance and position from each other. If that makes sense?

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [February 8, 2025, 5:10pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/8 "2025-02-08T17:10:51Z")

</div>

you cannot auto snap any selection? ohh well. but… yeh. that makes sense. bummer on the maya side of old things. maybe you wanna move to blender? 😅 it can do that. : )

or maybe find a mel script that does that. ; )

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 8, 2025, 5:14pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/9 "2025-02-08T17:14:11Z")

</div>

I found a workaround.  
If I select a bunch of UVs, and then select lattice tool, set falloff to 0, and just touch the middle circle thingie in the lattice, it will snap all the individual UVs to pixels, as long as I have pixel snap enabled.

However, now I run into another problem:

 ![Untitled](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/b/93b3abd0acf3f7e3fa607bee59a510f818c5a0b7.png)

These cylinder caps are all messed up T\_T

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [February 8, 2025, 5:18pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/10 "2025-02-08T17:18:42Z")

</div>

hmm. that is the thing with limited resolution or things being very small in the unwrap. nothing you can do about. but work with it.

is the snapping resolution correct tho? this looks pretty far off, compared to your first screenshot. this all looks like it should snap to 4k without much issues.

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 8, 2025, 5:24pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/11 "2025-02-08T17:24:22Z")

</div>

Oh, not at all. I was just testing it with 512p texture applied to the material. What I’m snapping, however, are UVs in lightmap channel. Again, purely for testing purposes. Texel density is 4.77 with 512 texture. So it’s pretty low.  
If I try it with higher texel density, like 12, for example, then the circle looks like a circle after snapping UVs.

 ![Untitled](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/4/f24a4e75362c50ee06c0f1a771dae2c94f599d7a.png)

So, basically, yes, I found a solution that I should incorporate in my future work.  
Thank you very much for the help!

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 10, 2025, 1:15pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/12 "2025-02-10T13:15:37Z")

</div>

Ok, update on the issue.

Pixel snap doesn’t seem to solve it. Even though, in theory, it should.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/e/a5e7c573e5132a67c1b1c0d2e6516ebd5bd7757f.jpeg)

Left - my original textures bake. Middle - UVs were pixel snapped to pixel corners on 8k texture (tried with 4k with the same result), textures re-baked. Right - full precision UVs.

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [February 10, 2025, 1:40pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/13 "2025-02-10T13:40:15Z")

</div>

looks good for the most part. maybe 1 or 2 uvs a lil off. you just rebaked anyway, tho. thought i mentioned you should do the pixel snap before you paint. this is no retro fit method.

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 10, 2025, 1:59pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/14 "2025-02-10T13:59:27Z")

</div>

Yeah I re-imported baked normals, occlusion, convexity to quixel mixer, re-baked final textures there, and this was the result.

It doesn’t look too bad here, however some of the other meshes look much worse.  
This one for example (it’s a similar piece that uses similar caps):

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/7/ef7a2999f0f4c895f0d4cef0ef583536dd23cb0e.jpeg)

And this is with pixelsnap and rebaked textures.  
This is how it looks like with full precision uvs:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/e/efe7be86bad2dee5fd0772f728d85508e590ae0e.jpeg)

Normally it wouldn’t be too noticeable, because these props are quite small. However, I just want to find a solution to not deal with this any more!

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 10, 2025, 2:28pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/15 "2025-02-10T14:28:42Z")

</div>

You should plan your textures with spill over values on the edges much like when preparing materials for print. That way if the edges don’t line up you don’t end up with weird shimmering or backgrounds poking at the edges.

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 10, 2025, 2:36pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/16 "2025-02-10T14:36:57Z")

</div>

I didn’t really plan for that to happen. This is just texture padding that was automatically applied in Mixer. And the padding isn’t an issue really, because pretty much the same thing happened if I apply “raw” textures from Marmoset (that also generates padding).  
Because of the UV distortions due to converting from 32 bits to 16 bits, the normals get warped - is the main issue.  
Not only that, but the whole cap went to the side, making one part of it appear thinner, and the other - thicker.  
And how do you plan the textures with “spill over” exactly? Besides leaving padding, which I did.

If only I could find a solution to make my UVs to use 16 bit coordinates to begin with, this would completely fix everything :\

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [February 10, 2025, 2:44pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/17 "2025-02-10T14:44:35Z")

</div>

> [@Kligan](#):
>
> make my UVs to use 16 bit coordinates to begin with

you could add a feature request. does autodesk have any form of developer contact? i dunno.

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [February 10, 2025, 2:49pm UTC](https://forums.unrealengine.com/t/is-there-a-trick-to-laying-out-uv-in-a-way-that-unreal-wont-mess-it-up/2322868/18 "2025-02-10T14:49:28Z")

</div>

I’d be waiting for 8 years for it to be implemented xD

I’m planning to try out RizomUV in the near future. Maybe it will do better than Maya. I’ll report back with the results whenever I get to it.
