# How to apply a texture to a quad

**URL:** <https://forums.unrealengine.com/t/how-to-apply-a-texture-to-a-quad/2694111>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [January 22, 2026, 12:45pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-texture-to-a-quad/2694111 "2026-01-22T12:45:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![klen\_dhatu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@klen\_dhatu](https://forums.unrealengine.com/u/klen_dhatu)\
**Post date:** [January 22, 2026, 12:45pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-texture-to-a-quad/2694111/1 "2026-01-22T12:45:00Z")

</div>

Consider a mesh given by two triangles that form a **trapezoidal quad** in world space. The UV space covers the quad completely.

How do we apply a **material** to the mesh such that we get the result on the right?

The material has to make use of the UV coords _and_ the vertex coordinates somehow.

 ![disto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/6/566d3958de6c00080224134d9e678e5e47824996.png)

**Note:** In my case the quad is generated procedurally at runtime.

---

<div class="post-metadata">

**Author:** ![klen\_dhatu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@klen\_dhatu](https://forums.unrealengine.com/u/klen_dhatu)\
**Post date:** [January 22, 2026, 8:10pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-texture-to-a-quad/2694111/3 "2026-01-22T20:10:14Z")

</div>

I tried to do the reverse of [this](https://forums.unrealengine.com/t/how-can-i-simulate-affine-texture-mapping/359388) but without success.

---

<div class="post-metadata">

**Author:** ![Wayne\_Tang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wayne\_Tang](https://forums.unrealengine.com/u/Wayne_Tang)\
**Post date:** [January 23, 2026, 8:17am UTC](https://forums.unrealengine.com/t/how-to-apply-a-texture-to-a-quad/2694111/4 "2026-01-23T08:17:24Z")

</div>

there are same of UV in them,but you want different textures

---

<div class="post-metadata">

**Author:** ![klen\_dhatu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@klen\_dhatu](https://forums.unrealengine.com/u/klen_dhatu)\
**Post date:** [January 23, 2026, 4:36pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-texture-to-a-quad/2694111/5 "2026-01-23T16:36:45Z")

</div>

Hello, the mapping/interpolation of any texture is the problem.

The exact same distortion does also occur when I’m using vertex colors instead of UV’s.
