# How to import texture with tranparancy?

**URL:** <https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856>\
**Category:** Rendering\
**Tags:** image, Importing, unreal-engine, transparency, question\
**Created:** [December 7, 2014, 12:56pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856 "2014-12-07T12:56:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9cf9138f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9cf9138f](https://forums.unrealengine.com/u/anonymous_user_9cf9138f)\
**Post date:** [December 7, 2014, 12:56pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/1 "2014-12-07T12:56:23Z")

</div>

Hello,  
I’m having problem with tis image (Which is transparent in center)

 ![23200-blink10.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/6/186c8c96db564ec99a9e4c56b4653ab53280c22a.png)

Problem is that when I import this image in UE4 transparent area becomes black like this

 ![23211-tyo.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/f/baf3a4865d008cdc6ab75251139938311d35a3cd.png)

But I need it to be transparent so that i could drawit on the screen. Can you help me with this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d1ce42db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d1ce42db](https://forums.unrealengine.com/u/anonymous_user_d1ce42db)\
**Post date:** [December 7, 2014, 3:59pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/2 "2014-12-07T15:59:09Z")

</div>

Hi Kano\_Tanaka

Please try to import your texture as a power of 2 (512x512, 1024x1024, 2048x2048 etc) as this is the standard format used. Im not sure if ue4 supports none power of 2 textures but give this a go and let me know the result. Additionally try importing as a TGA true targa format.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9cf9138f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9cf9138f](https://forums.unrealengine.com/u/anonymous_user_9cf9138f)\
**Post date:** [December 7, 2014, 8:07pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/3 "2014-12-07T20:07:30Z")

</div>

The power of two image didn’t work to (the same result).  
But TGA didn’t even import by the reason I don’t know.

---

<div class="post-metadata">

**Author:** ![csharp1024](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@csharp1024](https://forums.unrealengine.com/u/csharp1024)\
**Post date:** [December 8, 2014, 12:21am UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/4 "2014-12-08T00:21:02Z")

</div>

Try selecting alpha from the view drop down. It doesn’t show the transparency by default (it is filled in with the surrounding color)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9cf9138f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9cf9138f](https://forums.unrealengine.com/u/anonymous_user_9cf9138f)\
**Post date:** [December 8, 2014, 7:09pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/5 "2014-12-08T19:09:39Z")

</div>

Alpha channel is empty, just white

---

<div class="post-metadata">

**Author:** ![Godling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Godling](https://forums.unrealengine.com/u/Godling)\
**Post date:** [December 8, 2014, 9:00pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/6 "2014-12-08T21:00:42Z")

</div>

Place the .png texture where you want it in your world and it should have the alpha automatically applied.

Based on my own experience, if you are using a .png format this is normal. The engine fills in the blank area for the texture during import process, but retains the alpha information (not as a separate channel as far as I know, try using .tga for that).

---

<div class="post-metadata">

**Author:** ![lennysunreal](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lennysunreal/32/984341_2.png) [@lennysunreal](https://forums.unrealengine.com/u/lennysunreal)\
**Post date:** [January 7, 2017, 8:19pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/7 "2017-01-07T20:19:08Z")

</div>

I am currently using TGA file format. Be sure to add the alpha channel into the original when you save it, not the mask. Then save it as a 32bit TGA. Then it comes in with its alpha for me at least.

---

<div class="post-metadata">

**Author:** ![mathman212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mathman212](https://forums.unrealengine.com/u/mathman212)\
**Post date:** [August 8, 2018, 2:00am UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/8 "2018-08-08T02:00:37Z")

</div>

So what I did was I took the original image (I used GIMP to do this) and I took the image I wanted to use, put a white background on it, and desaturated it. Then I messed with the levels to make the thing I wanted to have transparency around it completely black. I then inverted the colors and had a transparency map which I could then use in the opacity input on the material (once I had set the material to transparent)  
(Make sure you mess with the shading model to get the right shading for your thing, for me I had to change it to subsurface profile as you can see on the bottom left under where I changed the blend mode to translucent)  
Unfortunately, I was limited to uploading images, so just don’t forget, anything that shows as black on the image will be the transparent part. In the end, however, I never kept the original transparent into UE4

 ![249773-result.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/6/2d6eeb2f8753cd43dbf4a181cea19c825c6b1011.jpeg)

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [August 26, 2018, 6:27pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/9 "2018-08-26T18:27:51Z")

</div>

non-power-of-two texture dimensions are supported but will not compress as well as they could when you build the game, so they will take up more storage space in the final product and may not load as efficiently.

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [August 26, 2018, 6:29pm UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/10 "2018-08-26T18:29:54Z")

</div>

Remember when you use the TGA way, that you have to use two separate texture sample nodes in your Material, feeding one into the RGB and the other into the A.

---

<div class="post-metadata">

**Author:** ![Cestarian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cestarian](https://forums.unrealengine.com/u/Cestarian)\
**Post date:** [July 2, 2024, 9:40am UTC](https://forums.unrealengine.com/t/how-to-import-texture-with-tranparancy/300856/11 "2024-07-02T09:40:35Z")

</div>

setting blend mode for the material to translucent fixed it for me.
