# UE 5.1 no shadows from instance tree leaves with Path Tracing

**URL:** <https://forums.unrealengine.com/t/ue-5-1-no-shadows-from-instance-tree-leaves-with-path-tracing/787596>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, question\
**Created:** [March 10, 2023, 3:47am UTC](https://forums.unrealengine.com/t/ue-5-1-no-shadows-from-instance-tree-leaves-with-path-tracing/787596 "2023-03-10T03:47:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobH2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/robh2/32/496965_2.png) [@RobH2](https://forums.unrealengine.com/u/RobH2)\
**Post date:** [March 10, 2023, 3:47am UTC](https://forums.unrealengine.com/t/ue-5-1-no-shadows-from-instance-tree-leaves-with-path-tracing/787596/1 "2023-03-10T03:47:47Z")

</div>

I’m experimenting with Path Tracing in UE 5.1. Using the MAO Oak Forest asset, I can’t get any foliage shadows when Path Tracing. I get shadows from the trunks and branches, but the instanced trees cast no shadows from the leaves. What do I need to enable beyond the normal Ray Tracing and Pathtracing parameters?

 ![PathTracingShadows](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/f/a7fc56db10528130e12840aa5e65c4d506b4c407.jpeg)

---

<div class="post-metadata">

**Author:** ![orcharbj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@orcharbj](https://forums.unrealengine.com/u/orcharbj)\
**Post date:** [March 16, 2023, 3:27am UTC](https://forums.unrealengine.com/t/ue-5-1-no-shadows-from-instance-tree-leaves-with-path-tracing/787596/2 "2023-03-16T03:27:20Z")

</div>

I have this same issue with the same forest pack, [and in general I get really bad shadowing and appearance from any trees I use in Path Traced mode](https://forums.unrealengine.com/t/ue5-1-path-tracing-vs-lit-mode-vegetation-aesthetic/724939). They look great and work fine in Lit mode.

How can this be fixed?

---

<div class="post-metadata">

**Author:** ![maelstromlibrary](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maelstromlibrary/32/923202_2.png) [@maelstromlibrary](https://forums.unrealengine.com/u/maelstromlibrary)\
**Post date:** [March 16, 2023, 3:31pm UTC](https://forums.unrealengine.com/t/ue-5-1-no-shadows-from-instance-tree-leaves-with-path-tracing/787596/3 "2023-03-16T15:31:50Z")

</div>

Hey @RobH2,

Please enable cast ray traced shadow in m\_vegetations material.

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

And if you have black flickering on tree trunk with Path Tracing but nanite is fixing black flicker.

Have a great day!  
Thanks.

---

<div class="post-metadata">

**Author:** ![galactic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galactic](https://forums.unrealengine.com/u/galactic)\
**Post date:** [April 6, 2023, 6:01pm UTC](https://forums.unrealengine.com/t/ue-5-1-no-shadows-from-instance-tree-leaves-with-path-tracing/787596/4 "2023-04-06T18:01:34Z")

</div>

I tried this but it didn’t worked. Anyone manged to find a solution?
