# Megascans trees bugged shadows.. 

**URL:** <https://forums.unrealengine.com/t/megascans-trees-bugged-shadows/2742115>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, question\
**Created:** [August 8, 2026, 1:06pm UTC](https://forums.unrealengine.com/t/megascans-trees-bugged-shadows/2742115 "2026-08-08T13:06:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kabisouth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kabisouth](https://forums.unrealengine.com/u/kabisouth)\
**Post date:** [August 8, 2026, 1:06pm UTC](https://forums.unrealengine.com/t/megascans-trees-bugged-shadows/2742115/1 "2026-08-08T13:06:10Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/9/8f91ef2261acb1a2a769ee827ceec7454b18b707.jpeg)Why does my megascans trees not render correctly, it looks like the shadows from the tree are triangles?

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [August 10, 2026, 3:40pm UTC](https://forums.unrealengine.com/t/megascans-trees-bugged-shadows/2742115/2 "2026-08-10T15:40:38Z")

</div>

Hello there @kabisouth!

Form your screenshot, it seems UE is casting the shadows from the leaf cards themselves, the component from which the tree’s foliage is generated. It also reminds of a quite similar case:

> [@Megascans trees with nanite and virtual shadow maps glitch](https://forums.unrealengine.com/t/megascans-trees-with-nanite-and-virtual-shadow-maps-glitch/1331351):
>
> I have problem with shadows and Megascans trees. When nanite and ray tracing are enabled, trees are moving (with the wind) but shadows don’t, without ray tracing shadows are moving but some of them (like small branches shadows) disappear when camera is moving towards the trees, and there Is weird grid-like looking glitch, some of the shadows are “cut”. Workaround I found is changing shadows map method from virtual shadow maps to shadow maps and turning off ray tracing. Is there a way for nanite…

The solution there was to switch the shadow method being used. In your scene, go to Edit \> Project Settings \> Engine - Rendering, and look “Shadow Map Method”. If it’s currently set on Virtual Shadow Maps, then change it to Shadow Maps, and viceversa.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/e/6ae68610b0465265df75ae8a96b0e62f38fe37c1.png)

The other element is the combination of Nanite and Ray Tracing. Having them all actived together can generate this effect in foliage. Experiment by disabling one first, then the other, then both. These changes are also done via Project settings, via the “Ray Traced Shadows” check, as seen above, and the Nanite check, also contained in Rendering:

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