Many instances and shadows

Hi Folks,

I’ve got a project with many thin instances (50k trees) and have noticed a significant drop in FPS if I apply shadows to the instances. I’ve got a playground reproduction that’s a bit less severe but shows the drop in FPS (from 60 to 45 in this case).

Anyone able to help with a way to apply shadows to 50k+ thin instances without affecting FPS?

For context the instances won’t move once created. I’ve tried some things like freezeWorldMatrix() but it doesn’t seem to have an impact on FPS.

Many thanks, Tom

Probably you may find some clues here - Shadows rendering only once inquiry

2 Likes