# CustomUV-Values broken when used for World Position Offset

**URL:** <https://forums.unrealengine.com/t/customuv-values-broken-when-used-for-world-position-offset/383422>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [January 30, 2017, 5:55pm UTC](https://forums.unrealengine.com/t/customuv-values-broken-when-used-for-world-position-offset/383422 "2017-01-30T17:55:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonschreibt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/simonschreibt/32/947877_2.png) [@simonschreibt](https://forums.unrealengine.com/u/simonschreibt)\
**Post date:** [January 30, 2017, 5:55pm UTC](https://forums.unrealengine.com/t/customuv-values-broken-when-used-for-world-position-offset/383422/1 "2017-01-30T17:55:06Z")

</div>

I´m trying to pass world position based UVs through the custom UVs inputs in a material. The passed data works well for color information but is broken when used as World PositionOffset. See the GIF as example:

[http://i.imgur.com/8Q96BSx.gif](http://i.imgur.com/8Q96BSx.gif)

As you can see, in both cases the output works perfectly well for the colors. The data is exactly how I want it. BUT, when using it as World Position Offset, it breaks when it comes through the custom UVs.Note: Not only gets the mesh ripped apart, also the scaling doesn´t happen from the center anymore.

Here´s the corresponding shader networks:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/d/dbd090a7c92ce30e6f29f2940b3b88e6cb2f2981.png) ](https://i.imgur.com/PzWuRsd.png)

You may ask why I do it that way. What I actually want is to use the new pre-skinned localposition node ([UNREAL ENGINE 4.14 RELEASED](https://80.lv/articles/unreal-engine-4-14-released/)) and this node can only be used when it is passed via custom UVs. At first I thought this node is broken but then I noticed that the Absolute World Position isn´t working as well. So I guess that´s a better test-case.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [February 1, 2017, 9:36pm UTC](https://forums.unrealengine.com/t/customuv-values-broken-when-used-for-world-position-offset/383422/2 "2017-02-01T21:36:15Z")

</div>

Hi iLegacy,

This was answered in another post: [CustomUV-Values broken when used for World Position Offset - Rendering - Epic Developer Community Forums](https://answers.unrealengine.com/questions/557212/customuv-values-broken-when-used-for-world-positio-1.html#answer-557214)

Feel free to leave a comment if that doesn’t meet your needs.

Cheers,

Ed
