# Transparent 'PNG' texture stretches when its been imported into UE4?

**URL:** <https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [August 17, 2016, 4:44am UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700 "2016-08-17T04:44:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f49381f2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f49381f2](https://forums.unrealengine.com/u/anonymous_user_f49381f2)\
**Post date:** [August 17, 2016, 4:44am UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700/1 "2016-08-17T04:44:52Z")

</div>

I made a decal sheet texture for my decal sheet material but when I imported the PNG decal texture into UE4 it’s all disfigured.

![DSQuest.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/5/b5d1509e96b74823f16b1fc3f5f3d29a12db32a3.png)

![DSQuest.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/b/a7bc74dd2e159fefe651783adb50a0a1177f2a8e.png)

But when the texture is in a material and is on a decal panel or a object it’s normal, why is this?

It mainly becomes a problem when I am UV cropping it when I’m in a material instances, because I can’t see what I’m cropping. 😕

How do I fix this?

Thanks!

---

<div class="post-metadata">

**Author:** ![Sitrec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sitrec](https://forums.unrealengine.com/u/Sitrec)\
**Post date:** [August 17, 2016, 8:30am UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700/2 "2016-08-17T08:30:54Z")

</div>

An easy fix would be to put the transparent parts in the alpha channel in Photoshop and save it as a .psd or .tga and import that instead. .png can act a bit wonky.

You can turn on/off viewing the alpha at the top left corner of the viewport when opening a texture and you need to plug in the alpha channel in opacity mask in the material editor to make the material use it.

Here is another thread started by someone with similar problems. It has some useful replies you can read as well. 🙂

> **[Importing any PNG with alpha channel messes up the image](https://forums.unrealengine.com/showthread.php?22982-Importing-any-PNG-with-alpha-channel-messes-up-the-image)**
>
> Whenever I try and import a PNG with alpha channel, it messes up the alpha parts of the image and the whole texture is unusable in the editor (stretches all over the place and distorts). I’ve already tried different versions of PNG compression etc....

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f49381f2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f49381f2](https://forums.unrealengine.com/u/anonymous_user_f49381f2)\
**Post date:** [August 17, 2016, 3:47pm UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700/3 "2016-08-17T15:47:30Z")

</div>

Super helpful thanks bro! 😉

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [August 17, 2016, 4:02pm UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700/4 "2016-08-17T16:02:34Z")

</div>

When you import a PNG texture with transparency it can’t use it as actually transparent, instead it has to create an alpha channel of the transparency. That means that your RGB channels have areas without any pixel information, so it will look at the pixels that are there and try to extrapolate to the rest of the image. If it replaced it with some other color–like black–then it would have a black color where the transparency is rather than a nice transparency on your texture.  
Other formats like TGA require an alpha channel so you set the colors yourself.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f49381f2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f49381f2](https://forums.unrealengine.com/u/anonymous_user_f49381f2)\
**Post date:** [August 17, 2016, 6:08pm UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700/5 "2016-08-17T18:08:34Z")

</div>

Alright I got it to work!

I had to create a second black and white texture for its alpha. UE4 seems to dislike transparent textures! 😛

Thanks guys for your help, much appreciated! 🙂

---

<div class="post-metadata">

**Author:** ![Sitrec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sitrec](https://forums.unrealengine.com/u/Sitrec)\
**Post date:** [August 17, 2016, 7:28pm UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700/6 "2016-08-17T19:28:10Z")

</div>

> [@;582533](#):
>
> Alright I got it to work!
> 
> I had to create a second black and white texture for its alpha. UE4 seems to dislike transparent textures! 😛
> 
> Thanks guys for your help, much appreciated! 🙂

That works but you could put the black/white alpha in the alpha channel of your original texture to save texture sheets 🙂 It’s more optimized that way but would require the texture to be saved as .tga or .psd

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [August 17, 2016, 7:30pm UTC](https://forums.unrealengine.com/t/transparent-png-texture-stretches-when-its-been-imported-into-ue4/71700/7 "2016-08-17T19:30:26Z")

</div>

The PNG should still come in with an alpha, it’s just that the RGB channels will be different as it fills the empty space with something
