# Why does this glass material not darken in shadow?

**URL:** <https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [May 23, 2025, 6:56pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989 "2025-05-23T18:56:48Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![JGoodroad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JGoodroad](https://forums.unrealengine.com/u/JGoodroad)\
**Post date:** [May 23, 2025, 6:56pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/1 "2025-05-23T18:56:48Z")

</div>

I’m using Dynamic/Lumen lighting and I’ve got this glass material I’ve used for some level instances and a panel I can throw down anywhere. It looks pretty good in the light but in darkness it appears almost fullbright. Any insight into why this is happening?

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

---

<div class="post-metadata">

**Author:** ![XxpiingyxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxpiingyxX](https://forums.unrealengine.com/u/XxpiingyxX)\
**Post date:** [May 23, 2025, 8:17pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/2 "2025-05-23T20:17:07Z")

</div>

Can you show the Setup of the material and the “details” panel of the material (Blend mode and shading model)?  
It looks like the material is set to unlit.

---

<div class="post-metadata">

**Author:** ![JGoodroad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JGoodroad](https://forums.unrealengine.com/u/JGoodroad)\
**Post date:** [May 23, 2025, 9:56pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/3 "2025-05-23T21:56:04Z")

</div>

Does this help?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/2/d92efa24cf35bf5edd7e3d9f70bb1087f59c3d19.png)

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [May 23, 2025, 10:26pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/4 "2025-05-23T22:26:21Z")

</div>

it could be due to the lighting mode  
is it set to receive dynamic shadows?  
and also the mesh receives shadows?

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [May 23, 2025, 10:46pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/5 "2025-05-23T22:46:09Z")

</div>

Picture is too low in resolution to see the output node (the one on the right). Are you feeding input into that node’s emissive pin?

---

<div class="post-metadata">

**Author:** ![JGoodroad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JGoodroad](https://forums.unrealengine.com/u/JGoodroad)\
**Post date:** [May 24, 2025, 12:10am UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/6 "2025-05-24T00:10:51Z")

</div>

Yeah, this is what’s being fed into the Emissive slot.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/2/ab26d224622055302feea4977614865d10b8f109.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/9/6090941d62b5920fd2c2aecc9835bbe41a6071bf.png)

---

<div class="post-metadata">

**Author:** ![JGoodroad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JGoodroad](https://forums.unrealengine.com/u/JGoodroad)\
**Post date:** [May 24, 2025, 12:16am UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/7 "2025-05-24T00:16:14Z")

</div>

Not sure where to find the setting for receiving shadows.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/d/22d2050bac4cca5cc23e94039e2f170669341c8d.png)

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [May 24, 2025, 12:52am UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/8 "2025-05-24T00:52:11Z")

</div>

Sorry i might have mistaken that. I think i saw it but i cant find it.  
Anyway by default it should receive shadows.  
Unless the material is until or does something weird. Or you have different light channels.  
I do think the light model could affect.

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [May 24, 2025, 1:50am UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/9 "2025-05-24T01:50:43Z")

</div>

> [@JGoodroad](#):
>
> Yeah, this is what’s being fed into the Emissive slot.
> 
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/2/ab26d224622055302feea4977614865d10b8f109.png)

This is the problem. The emissive pin makes the material act as a lamp.

---

<div class="post-metadata">

**Author:** ![JGoodroad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JGoodroad](https://forums.unrealengine.com/u/JGoodroad)\
**Post date:** [May 24, 2025, 7:26pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/10 "2025-05-24T19:26:49Z")

</div>

I removed that section and the issue persists:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/6/3/7633b439ee737518f2a9e4d6ae4aee466ac3bd78.jpeg)

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [May 24, 2025, 7:50pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/11 "2025-05-24T19:50:41Z")

</div>

Does that emissive pin default to 0? And what about the Ambient Occlusion pin, try setting that to 0 too? On that screenshot I see a folder referring to post process, are you using post processing related to the glass?

Oh and in case you use material instances, try making a new instance after changes on the parent material. They misbehave sometimes.

---

<div class="post-metadata">

**Author:** ![JGoodroad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JGoodroad](https://forums.unrealengine.com/u/JGoodroad)\
**Post date:** [May 24, 2025, 10:00pm UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/12 "2025-05-24T22:00:35Z")

</div>

> [@Roy\_Wierer.Seda145](#):
>
> el

How to do you set a color to zero? Changing Ambient Occlusion to zero didn’t help. I’m assuming this is correct for a default:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/1/5614b490b640e0989b52e4e355aba0412c4440bf.jpeg)

Also the post-processing folder just contains a material called M\_unsharp. I got this material from a pack on Fab (Construction Site) so I’m not sure how I’d check if post-processsing is being done here. But the material in that folder isn’t referenced in this material. I don’t think I’m using material instances.

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [May 25, 2025, 2:07am UTC](https://forums.unrealengine.com/t/why-does-this-glass-material-not-darken-in-shadow/2524989/13 "2025-05-25T02:07:42Z")

</div>

> [@JGoodroad](#):
>
> How to do you set a color to zero?

That looks fine. (r g b a all 0), I was wondering if that defaulted to 1 but it’s not so that is OK.

I don’t see other oddities.

> [@JGoodroad](#):
>
> how I’d check if post-processsing is being done here

You’d have a post process volume on the level, or a post process effect on the camera etc. You can see where the post process material is referenced if you right click the asset “find references”. Reason I mention post processing is because that affects the rendering on top of what you configure for the glass material. That is the “special effect” type of rendering calculated on top of everything else, which people can use to create see through effects (outlines of an object behind walls etc., objects lighting up regardless of environment).

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/7/04742d1e75cf77a1baf871967d2437e71794183c.png)

don’t really see anything else, the seller should know if you haven’t done any modifications (see if it happens on a new project).
