UE5.8 Procedural Vegetation/Megaplants Shadow Cache Invalidation

Currently, the Shadow Depth pass takes around 8–11 ms when using a dynamic day/night cycle with the new skeletal procedural trees. From what I understand, this is because the shadow cache invalidation method for skeletal trees is currently set to Always.

The old foliage paint tool had options to set shadow cache invalidation to Rigid and Static, which allowed the trees to move using World Postion Offset while keeping their shadows static, resulting in much better performance.

It would be really helpful if similar Rigid and Static options could be added for the new skeletal trees as well. This would make them much more practical for large environments with dynamic lighting and day/night cycles.
I hope the Team at Epic considers this for UE5.9
Not every tree needs to have its shadow updated every frame with the wind
Thanks

1 Like

The Rigid/Static options already exist but aren’t honored for Nanite skeletal meshes. There is a JIRA in here internally for it so it will get fixed at some point.