I used a Procedural Foliage volume to spawn some foliage on my landscape. Now i’m having a warning on all foliage actors that says “InstancedFoliageActor… Large actor receives a pre-shadow and will cause an extreme performance hit unless bCastDynamicShadow is set to false”. I did search around about this problem but all i found was some unrelated discussion.
Some more info:
- I’m using brushify foliage from the forest pack with trees that move with the wind (the shadow update with their movement. don’t know if it’s important).
- I have Lumen enabled.
- I am using Ultra dynamic sky
- World partition is enabled and my landscape is 32 km by 24km. (16k landscape scaled 2x)
- I have many trees on my landscape.
and i would like to retain the wind movements and the shadows that update accordingly.
As promised by the warning, in my landscape i get 30fps with a GPU bottleneck represented all by Shadows depth if i look at the GPU stats.
Thank you all for any help!