# 2 errors on texture blend

**URL:** <https://forums.unrealengine.com/t/2-errors-on-texture-blend/620733>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, Post-Process, UE5-0, editor, question\
**Created:** [August 3, 2022, 5:06pm UTC](https://forums.unrealengine.com/t/2-errors-on-texture-blend/620733 "2022-08-03T17:06:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon58292963](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon58292963](https://forums.unrealengine.com/u/anon58292963)\
**Post date:** [August 3, 2022, 5:06pm UTC](https://forums.unrealengine.com/t/2-errors-on-texture-blend/620733/1 "2022-08-03T17:06:32Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/0/a60c57d8f7924bd4e6393ae8918b2d00c85a7bde.png)

> [@how to make lens distortion work?](https://forums.unrealengine.com/t/how-to-make-lens-distortion-work/304253/8):
>
> Old question, but in case anyone pokes around this question again, the Eat3D video is a bit more complex than is what is needed if you want simple barrel distortion. Doing a little digging around because I wanted to do the same thing, I found this: However, as I read the shader code, I noticed that it was being completely ridiculous, first it gets the angle of the UV vector, the figures out the “magnification” using the barrel distortion, then it calculates the new x and y positions using sin…

I was following this tutorial and got 2 errors. The tutorial doesn’t have any errors, how do I fix them?

---

<div class="post-metadata">

**Author:** ![anon58292963](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon58292963](https://forums.unrealengine.com/u/anon58292963)\
**Post date:** [August 3, 2022, 5:10pm UTC](https://forums.unrealengine.com/t/2-errors-on-texture-blend/620733/2 "2022-08-03T17:10:11Z")

</div>

never mind, i swapped the vector length and set material to postprocess
