# UE 5.1 procedural Foliage + Shadow Maps (CSM Shadows) bugged?

**URL:** <https://forums.unrealengine.com/t/ue-5-1-procedural-foliage-shadow-maps-csm-shadows-bugged/719174>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [December 1, 2022, 8:55am UTC](https://forums.unrealengine.com/t/ue-5-1-procedural-foliage-shadow-maps-csm-shadows-bugged/719174 "2022-12-01T08:55:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GGX-John](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GGX-John](https://forums.unrealengine.com/u/GGX-John)\
**Post date:** [December 1, 2022, 8:55am UTC](https://forums.unrealengine.com/t/ue-5-1-procedural-foliage-shadow-maps-csm-shadows-bugged/719174/1 "2022-12-01T08:55:26Z")

</div>

When using the procedural Foliage or Foliage Painter + setting the shadows to be “Shadow Maps” instead of the expansive “Virtual Shadow Maps” i get some strange results. The Shadows are disappearing when i rotate the camera to a specific angle (culling?).

When i place a static mesh of the tree i dont get the same problem.

Is this a bug in the new 5.1 Release or am i missing any new settings?

Thank You

---

<div class="post-metadata">

**Author:** ![GGX-John](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GGX-John](https://forums.unrealengine.com/u/GGX-John)\
**Post date:** [December 7, 2022, 10:58am UTC](https://forums.unrealengine.com/t/ue-5-1-procedural-foliage-shadow-maps-csm-shadows-bugged/719174/2 "2022-12-07T10:58:00Z")

</div>

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/e/a7e9efb4663411639c654f5bc78cf6ab09929c7c.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/e/a7e9efb4663411639c654f5bc78cf6ab09929c7c.mp4)

It only happens when the sun is very close to the horizon (f.E. 07:00 am). I’m using standard settings for the CSM Shadows…

---

<div class="post-metadata">

**Author:** ![tosith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tosith](https://forums.unrealengine.com/u/tosith)\
**Post date:** [February 3, 2023, 2:59am UTC](https://forums.unrealengine.com/t/ue-5-1-procedural-foliage-shadow-maps-csm-shadows-bugged/719174/3 "2023-02-03T02:59:32Z")

</div>

Did you find a solution for this problem in 5.1?

---

<div class="post-metadata">

**Author:** ![GGX-John](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GGX-John](https://forums.unrealengine.com/u/GGX-John)\
**Post date:** [February 17, 2023, 4:05am UTC](https://forums.unrealengine.com/t/ue-5-1-procedural-foliage-shadow-maps-csm-shadows-bugged/719174/4 "2023-02-17T04:05:13Z")

</div>

problem solved now with update to ue 5.1.1 😉
