# Material Attribute Opacity

**URL:** <https://forums.unrealengine.com/t/material-attribute-opacity/335775>\
**Category:** Rendering\
**Tags:** unreal-engine, bug-report, UE4, question\
**Created:** [October 19, 2015, 10:42am UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775 "2015-10-19T10:42:55Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [October 19, 2015, 10:42am UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/1 "2015-10-19T10:42:55Z")

</div>

![63272-opacityproblem.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/e/8aec5634822efca1cb5573fd9d8d87018cd79359.jpeg)

Hi all, I’m trying to use a texture to drive Opacity in a Material Function and can’t seem to get it to work. The texture works on emissive and other channels(shown here in Normal) so it’s not the texture. The texture has a alpha channel to which I’ve tried with no success. Any tips?

---

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [October 19, 2015, 11:32am UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/2 "2015-10-19T11:32:02Z")

</div>

[- YouTube](https://youtu.be/VnjlD8WgIWg?t=57) this is the effect I’m trying to make. I just need a gradient color to travel, while being masked out…shouldn’t be to hard…but it’s eluding me.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [October 19, 2015, 8:02pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/3 "2015-10-19T20:02:38Z")

</div>

Hello walkinginspace,

From your description and your screenshot I was able to reproduce this issue on my end. It appears that the opacity channel never receives input from the texture sample. It also appears that when adding this function to a material it will the material will not allow the function to act as input.

After pooling more knowledge we have determined that this is a bug. I have entered a bug for this issue and it’s ticket number is UE-22344.

I will keep you up to date on this bugs progress.

---

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [October 19, 2015, 11:52pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/4 "2015-10-19T23:52:09Z")

</div>

Thanks . Would you have any other suggestions for achieving the effect from that youtube clip?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [October 20, 2015, 4:51pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/5 "2015-10-20T16:51:50Z")

</div>

What you would need is a material where the emissive layer had a point of origin. Then perhaps add a panner. This of course would allow it to pan from one area and emanate outward in a direction. You may be able to then add a blueprint to call the event and have it tick once rather than a constant panning.

It will definitely take some research and trial and error. That’s the best guess I have off the top of my head.

---

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [October 20, 2015, 9:34pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/6 "2015-10-20T21:34:12Z")

</div>

Yea, sure will. It’s the masking of the area that is the problem. I need to be able to have a surface that then has a crawling/revealing texture grow over it…I’ll keep hacking away at it

---

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [November 12, 2015, 9:59pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/7 "2015-11-12T21:59:21Z")

</div>

Hi , any news on this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [November 13, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/8 "2015-11-13T16:25:11Z")

</div>

Unfortunately, at this time, there are no updates for this issue. It is marked as “To-Do” and is currently unresolved.

---

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [April 13, 2016, 2:25am UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/9 "2016-04-13T02:25:38Z")

</div>

Hi , just checking in to see if there was any progress with this…thanks!

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [April 13, 2016, 7:30pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/10 "2016-04-13T19:30:53Z")

</div>

Hello,

I have looked into this bug report, and it is currently being investigated by our developers, but there is no timeline for a fix at this time.

Have a great day

---

<div class="post-metadata">

**Author:** ![JasonPowell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JasonPowell](https://forums.unrealengine.com/u/JasonPowell)\
**Post date:** [April 6, 2017, 3:39pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/11 "2017-04-06T15:39:50Z")

</div>

Any resolution?

---

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [April 6, 2017, 3:43pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/12 "2017-04-06T15:43:46Z")

</div>

Still doesn’t look like the bug has been fixed…nearly a year and a half and who knows how many builds…sigh…

---

<div class="post-metadata">

**Author:** ![Steven\_Hubbard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steven_hubbard/32/1068832_2.png) [@Steven\_Hubbard](https://forums.unrealengine.com/u/Steven_Hubbard)\
**Post date:** [April 6, 2017, 3:46pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/13 "2017-04-06T15:46:14Z")

</div>

[Unreal Engine Issues and Bug Tracker (UE-22344)](https://issues.unrealengine.com/issue/UE-22344) - it says resolved…guess I’ll look and see if it is:)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fcff2774](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fcff2774](https://forums.unrealengine.com/u/anonymous_user_fcff2774)\
**Post date:** [August 23, 2017, 2:01pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/14 "2017-08-23T14:01:43Z")

</div>

I have the same issue. Opacity mask and opacity are not working inside of the material function build 4.16

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [August 29, 2017, 1:15pm UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/15 "2017-08-29T13:15:57Z")

</div>

Hey Malachi93,

If you’re still experiencing this issue in 4.17, do me a favor and open a new thread in the Bug Reports section. In the thread, please include a detailed list of repro steps that we can follow to reproduce the issue on our end, or a simplified test project so that we can get a ticket entered if necessary.

Thanks!

---

<div class="post-metadata">

**Author:** ![zhuowl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zhuowl](https://forums.unrealengine.com/u/zhuowl)\
**Post date:** [June 22, 2018, 3:57am UTC](https://forums.unrealengine.com/t/material-attribute-opacity/335775/16 "2018-06-22T03:57:35Z")

</div>

Opacity and opacity mask can’t preview in Material Function by Material Attributes,but in Material use the Material Attributes Opcity can work.I think its because when in Material Funcation you cant konw the Material Blend Mode,and the opacity and opacity mask cant preview.

 ![245077-qq截图20180622115220.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/a/b7a592b270654dc8c68562981e2b05d52e959d50.png)
