# Material opacity does not work

**URL:** <https://forums.unrealengine.com/t/material-opacity-does-not-work/878579>\
**Category:** FX\
**Tags:** unreal-engine, Rendering, question\
**Created:** [April 8, 2023, 3:04pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579 "2023-04-08T15:04:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 3:04pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/1 "2023-04-08T15:04:14Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/8/4d81a38a24ca8eee2523aa31f97ab18eed3af5da.png)

No matter how high I set the opacity it still does not work. The material will let through light but not anything else. I would like to be able to vaguely see things behind it. This is a translucent material btw.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 3:12pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/2 "2023-04-08T15:12:26Z")

</div>

The opacity needs to be less than 1 to let anything through…

I don’t know if that radial gradient node is helping.

---

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 3:17pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/3 "2023-04-08T15:17:39Z")

</div>

Thanks. This makes it fully transparent. The Radial Gradient is to get a blurry effect. Spiral blur does not work in Ue4 (at least not with lighting). It does work well in Ue5 though.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 3:18pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/4 "2023-04-08T15:18:23Z")

</div>

It should be fully opaque at 1.

---

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 3:21pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/5 "2023-04-08T15:21:36Z")

</div>

Yes. The problem is, I would like it somewhat transparent but not fully. Under 1 it is fully transparent and above it is only somewhat transparent. It is not fully opaque because of the radial gradient and translucent blend mode

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 3:22pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/6 "2023-04-08T15:22:42Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/8/9182be3f977da1aea404294bc8e9f573b0052cc5.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 3:27pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/7 "2023-04-08T15:27:10Z")

</div>

What about this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/7/ef7a25bf0482d91b601c1d4cb17199d497f20aeb.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/8/188883956025ba292a81cef813f2d04d27f9dfa5.jpeg)

---

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 3:27pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/8 "2023-04-08T15:27:50Z")

</div>

This is what it looks like for me at 1 opacity  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/b/95b902131e7199c2de169adfd885c0b261107b08.jpeg)

This is at 0 opacity

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/8/b583f8637873ddcf7ed7a0caba0844b3f4898e8b.jpeg)

As you can see, things behind it are not visible in opacity 1, but the blue light still shines through

There is no inbetween, only opacity on or off

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 3:29pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/9 "2023-04-08T15:29:43Z")

</div>

The material graph is a bit shot, I think. You don’t want to be using emissive. Also the fact that it’s a circle mask is not helping.

What about noise mask I used up there, or this texture from the engine folder

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/c/19c81600b6a720baee339d8cd619de0f8b9d0202.png)

gives

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/b/87b929e556e63491c45d5a08fde10966d7039aa2.jpeg)

---

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 3:38pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/10 "2023-04-08T15:38:51Z")

</div>

Thank you for this, so I tried it and it looks like this

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/a/95aaaca7e73fd998a60f231d874357a40be667e2.jpeg)

Honestly can’t tell if I’m getting any blur effect?

And this is without the material instance (a little “blurry” effect, I think)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/5/2956f5460ed1f051232d1909d6c28a3e3f5312be.jpeg)

My idea would be to acheive an effect similar to this

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/4/ae40345370426426364e03002655dc0dce06974a.jpeg)

Also thank you for replying, I never thought someone would ever see this post x)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 3:42pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/11 "2023-04-08T15:42:12Z")

</div>

Ah, blur, that’s different. Gimme a little while… Without spiral blur…

---

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 3:51pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/12 "2023-04-08T15:51:35Z")

</div>

Thank you for trying!!! I’m very grateful 🤗

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 4:02pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/13 "2023-04-08T16:02:14Z")

</div>

Ok, I made this

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/3/75312fb135740831c832f9436a753a4e53584327.png)

You also need

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/4/3241755a9b07b2f8053006910d0d665a5cfbd37d.png)

on the main node.

You can get various effects by fiddling with the refraction and opacity

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/0/dc0204521925cc009fa48747cf2130a70720e048.jpeg)

The normal came from the engine folder

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/c/1dc8358008fe9b95ab951d2208d0be0da6eda7ba.png)

But any distorted normal will do.

I see tutorials using ue4 with that spiral node. You don’t have it?

---

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 4:31pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/14 "2023-04-08T16:31:46Z")

</div>

I like the material you made. I am able to get a lot of cool distortion effects with it.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/e/c5e2feb8463fa2343b82c0f182e15d1b08e509f2.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/1/6c1383005c851bc3c3db2621f2b9b1f34a362659.jpeg)  
I do get some weird reflections from time to time but it looks pretty cool overall.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/b/42b38495bf98944ba704ff5d25e9bf45d4ea47a1.jpeg)

I think if I mess around with UVs more I can maybe get a map that makes it looks more like the blurry effect I want.

As for the spiral node the problem is the lighting. I followed [this](https://www.youtube.com/watch?v=527ZcxYnf_s) popular tutorial and it works fine in Ue5. Looks like this in Ue5:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/4/5b4731b5f03b8bc8e3f6b051751e54b6eef59489.jpeg)

In Ue4 however it encounters some problems when lighting is used…

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/5/ec56662d778a8cdee1d5257e67b14bb3234bbe20.jpeg)

Both these examples have a light directly behind the glass but it looks very different. I’m new to materials so not sure why this is. Some people in the comment section of that video also realised this problem.

Once again, Thank you very much for your help 😃

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 4:46pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/15 "2023-04-08T16:46:45Z")

</div>

I reckon I can get it a bit more ‘frosty’ and less ‘refracty’, but that will take a bit longer…

---

<div class="post-metadata">

**Author:** ![sandaldraste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sandaldraste](https://forums.unrealengine.com/u/sandaldraste)\
**Post date:** [April 8, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/16 "2023-04-08T16:57:32Z")

</div>

If you feel like it 🙂 I would appreciate it, but, I would hate to take up more of your time! I’m already thankful for the insight you were able to offer already!

I kinda love the effect I get if I pull up the refraction very high. It does give the weird reflections though.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/a/e9a2305cf0d80208da8ddf4d6296293a181b8397.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 8, 2023, 7:40pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/17 "2023-04-08T19:40:23Z")

</div>

Nah, I tried, we have maximum frostyness, I’m afraid 🙂

It looks a bit ‘drier’ if you raise the opacity and darken the white a bit

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/0/970d4557b30d34e4fa386020b1d5bad449670b5f.jpeg)

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [April 9, 2023, 3:53am UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/18 "2023-04-09T03:53:21Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/6/54691494e8932ee6a5598c518a753115dfd414c0.jpeg)  
Keep in mind if the frequency of the noise increases, this effect will begin to exhibit ghosting.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 9, 2023, 11:48am UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/19 "2023-04-09T11:48:04Z")

</div>

That’s nice 🙂

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [April 9, 2023, 8:01pm UTC](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579/20 "2023-04-09T20:01:47Z")

</div>

Thanks, you were on the right track. The trick to frosted glass is that the refraction is from extremely fine detailed normals, so if you scale it small enough it works. The other trick is that it’s often laminated in smooth glass, so in my case I’ve kept the base normals smooth but am using a 2D pixel offset. Un-laminated or rough frosted glass would still probably look best without a normal, but with a higher roughness.

[Next page](https://forums.unrealengine.com/t/material-opacity-does-not-work/878579.md?page=2)
