# Disable shadows from widget component?

**URL:** <https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429>\
**Category:** Rendering\
**Tags:** Shadows, unreal-engine, UE5-0, Lighting, question\
**Created:** [October 3, 2022, 12:50pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429 "2022-10-03T12:50:52Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bright360F](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bright360f/32/573853_2.png) [@Bright360F](https://forums.unrealengine.com/u/Bright360F)\
**Post date:** [October 3, 2022, 12:50pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/1 "2022-10-03T12:50:52Z")

</div>

Hello everyone. I’m currently working on a simple VR game. I’ve put in a UI Widget Component on the left controller.

The UI buttons are however completely blacked out due to shadows, and I have no idea how to fix this.

How would I be able to disable shadow casting from the UI widget?

With lighting:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/3/28332f0726ca85c03d8db762886d8f4cc8c9a2a5.jpeg)

Without lighting:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/7/147c38e5da90183dd958212c4a157eef2d0cee08.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/a/d2ab62bf7294337d4b779d08176ae2dec490fdfc.jpeg)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/3/02355b0b198c96329b39f0ec096661343a334f65.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 3, 2022, 12:58pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/2 "2022-10-03T12:58:11Z")

</div>

Try turning off Receive CSM Shadows in the widget component, and turn off receives decals.

---

<div class="post-metadata">

**Author:** ![ariveros327](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ariveros327/32/548075_2.png) [@ariveros327](https://forums.unrealengine.com/u/ariveros327)\
**Post date:** [October 3, 2022, 1:03pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/3 "2022-10-03T13:03:47Z")

</div>

Hello @Bright360F !

I think that it may be a problem with the material, but not every UI Widget has materials so you have to check it.

In the Widget Menu, in the Details Tab, can you search for “Material”?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/0/f50c239b3c46c16c2b7aca3afad45047dab9ac70.png)

By default all the images in the UI do not respond to the lights of the scene, but if they do it is usually because they are associated with a material.

If you find that it has a material, you just have to go to that material and make it “Unlit”.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/1/c617abf82af3cb4819a6abb0b066176a504e617c.jpeg)

Let me know if you need any more help.  
I hope if this helps you!

---

<div class="post-metadata">

**Author:** ![Bright360F](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bright360f/32/573853_2.png) [@Bright360F](https://forums.unrealengine.com/u/Bright360F)\
**Post date:** [October 3, 2022, 1:57pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/4 "2022-10-03T13:57:13Z")

</div>

turned it off, UI is still black

some additional information as to what lighting im using, don’t know if it’s useful though:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/2/ae2a1d1c55acc0fca35366029c6fdb1ee556e429.png)

---

<div class="post-metadata">

**Author:** ![Bright360F](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bright360f/32/573853_2.png) [@Bright360F](https://forums.unrealengine.com/u/Bright360F)\
**Post date:** [October 3, 2022, 1:58pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/5 "2022-10-03T13:58:26Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/9/8b9b4e26522e17d4c2c571079ec94002b18fcc39.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/d/3fd04b5bd92ee7d2f99e57b8a7805f14f1d646af.png)

---

<div class="post-metadata">

**Author:** ![ariveros327](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ariveros327/32/548075_2.png) [@ariveros327](https://forums.unrealengine.com/u/ariveros327)\
**Post date:** [October 4, 2022, 12:50pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/6 "2022-10-04T12:50:11Z")

</div>

Nice!  
So, your UI it is conected to a material.

So try to turn on again the “Shading Model” check and see if it fixes it.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/9/5b9aa1d4d7c28f8a1dc73e91ba8ae185ab321636.png)

If not, open the parent Material (The “Widget3DPassThrough(…)”) and make it Unlit.

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

I hope this Helps!

---

<div class="post-metadata">

**Author:** ![Bright360F](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bright360f/32/573853_2.png) [@Bright360F](https://forums.unrealengine.com/u/Bright360F)\
**Post date:** [October 4, 2022, 1:23pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/7 "2022-10-04T13:23:16Z")

</div>

Hey, I’ve checked the child’s box for the shading model, and put the shading model to unlit in the parent material.

I sadly still have the problem. ☹

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/2/bd2d9a39c3aab714983082106156951fb47a3836.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/4/5647b909ced00321bb550fa6ff418763bffbcc44.png)

---

<div class="post-metadata">

**Author:** ![baibukan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@baibukan](https://forums.unrealengine.com/u/baibukan)\
**Post date:** [October 24, 2022, 6:59am UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/8 "2022-10-24T06:59:33Z")

</div>

[https://forums.unrealengine.com/t/3d-progress-bar-casting-shadow/463345](https://forums.unrealengine.com/t/3d-progress-bar-casting-shadow/463345)

---

<div class="post-metadata">

**Author:** ![yourboypavs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yourboypavs](https://forums.unrealengine.com/u/yourboypavs)\
**Post date:** [November 16, 2023, 4:39am UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/9 "2023-11-16T04:39:40Z")

</div>

As baibukan pointed to above, for some reason the “Cast Shadow” property isn’t exposed in the Details pane for Widgets. Luckily, you can easily turn off shadows by setting the value in the Event Graph.

 ![ue5_widget_turn_of_cast_shadows](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/4/c941e2cde1e324e1133de9aac2ef0f0cf3807d92.png)

---

<div class="post-metadata">

**Author:** ![Mr\_Panceto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr_panceto/32/775837_2.png) [@Mr\_Panceto](https://forums.unrealengine.com/u/Mr_Panceto)\
**Post date:** [November 16, 2023, 11:22pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/10 "2023-11-16T23:22:20Z")

</div>

WOW, amazing coincidence, i never need this, and just is solved the day that i needed It XD

---

<div class="post-metadata">

**Author:** ![DevNexy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DevNexy](https://forums.unrealengine.com/u/DevNexy)\
**Post date:** [December 27, 2023, 3:05am UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/11 "2023-12-27T03:05:52Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![hintenan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hintenan](https://forums.unrealengine.com/u/hintenan)\
**Post date:** [February 6, 2024, 3:36pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/12 "2024-02-06T15:36:35Z")

</div>

C++:  
WidgetComponent-\>SetCastShadow(false);

---

<div class="post-metadata">

**Author:** ![Brainversation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brainversation](https://forums.unrealengine.com/u/Brainversation)\
**Post date:** [May 31, 2024, 8:19pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/13 "2024-05-31T20:19:58Z")

</div>

This can also be done in the “Construction Script” tab

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

---

<div class="post-metadata">

**Author:** ![Anonymous\_34253173c92f1a46556ad2b6bbf51166](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_34253173c92f1a46556ad2b6bbf51166](https://forums.unrealengine.com/u/Anonymous_34253173c92f1a46556ad2b6bbf51166)\
**Post date:** [January 6, 2025, 3:31am UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/14 "2025-01-06T03:31:53Z")

</div>

An approach I never imagined! I originally thought it couldn’t be set because I couldn’t find the default settings. Thank you

---

<div class="post-metadata">

**Author:** ![Thressnoriynne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thressnoriynne](https://forums.unrealengine.com/u/Thressnoriynne)\
**Post date:** [March 4, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/15 "2025-03-04T15:04:01Z")

</div>

Let’s go! I had no idea this was here! Thanks y’all 😀

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 16, 2026, 7:13am UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/16 "2026-04-16T07:13:09Z")

</div>

Doesn’t work if you’ve got a child actor component for your widget.

 ![SetCastShadow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/5/4554c89bbccc58915312565798ea7f06bdcb4553.png)

 ![WidgetShadow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/1/e11617e16b4ee265e94a473d9065e680d0c4e15b.jpeg)

You can see the widget is still casting a shadow on the mesh.

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 16, 2026, 7:16am UTC](https://forums.unrealengine.com/t/disable-shadows-from-widget-component/661429/17 "2026-04-16T07:16:36Z")

</div>

Oh. I got it fixed. I was trying to do this inside of the Door Blueprint that had the Child Actor Widget component inside it, but instead I opened the root widget BP and set the Cast Shadow there and it worked. Yay!
