# Clamp Texture Edge stretching-

**URL:** <https://forums.unrealengine.com/t/clamp-texture-edge-stretching/85925>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [February 22, 2017, 2:45pm UTC](https://forums.unrealengine.com/t/clamp-texture-edge-stretching/85925 "2017-02-22T14:45:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ba8e0322](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ba8e0322](https://forums.unrealengine.com/u/anonymous_user_ba8e0322)\
**Post date:** [February 22, 2017, 2:45pm UTC](https://forums.unrealengine.com/t/clamp-texture-edge-stretching/85925/1 "2017-02-22T14:45:56Z")

</div>

Hi all, I am having this problem.

 ![7841c97e9d9ccd8c1d7aba37c2adeea1ab63b96b.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/4/7841c97e9d9ccd8c1d7aba37c2adeea1ab63b96b.jpeg)

I want to tile a texture without repeat by changing the sampler source to clamp but the edges are stretching. Any way to fix this.

Thanks.

---

<div class="post-metadata">

**Author:** ![Wilkes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wilkes](https://forums.unrealengine.com/u/Wilkes)\
**Post date:** [February 22, 2017, 11:13pm UTC](https://forums.unrealengine.com/t/clamp-texture-edge-stretching/85925/2 "2017-02-22T23:13:27Z")

</div>

Wouldn’t changing it to wrap be the way to accomplish this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ba8e0322](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ba8e0322](https://forums.unrealengine.com/u/anonymous_user_ba8e0322)\
**Post date:** [February 23, 2017, 12:25am UTC](https://forums.unrealengine.com/t/clamp-texture-edge-stretching/85925/3 "2017-02-23T00:25:32Z")

</div>

I meant scale the texture without tiling or repeating.

---

<div class="post-metadata">

**Author:** ![tim-program](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tim-program](https://forums.unrealengine.com/u/tim-program)\
**Post date:** [September 9, 2021, 3:53am UTC](https://forums.unrealengine.com/t/clamp-texture-edge-stretching/85925/4 "2021-09-09T03:53:02Z")

</div>

A bit late but to anyone who has the same question, I had a 1024x1024 texture which was stretching with clamp on and I was able to solve it but setting an 8x8 black pixel border around my texture so the rest of it fills black. Try deleting or adding a certain amount of pixels around the texture to get rid of it. Although, I’m not sure if it will work with a border of pixels with alpha 0 but you can try and see.

---

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [March 9, 2024, 5:36am UTC](https://forums.unrealengine.com/t/clamp-texture-edge-stretching/85925/6 "2024-03-09T05:36:12Z")

</div>

Thanks, i added a transparent border as well and working perfectly 😇
