- Home /
How to fix low FPS due to `afterCullingOutputReady.Invoke` phase when using SpeedTree trees with LoDs?
I have a scene with a few hundreds of trees. When profiling rendering performance, I have found out that afterCullingOutputReady.Invoke
method during the Culling
phase takes majority of the frame time. And the more trees are on the screen the longer it takes (linearly). I have also found out that this time is only caused by trees in the view frustum as trees outside of view do not increase this time.
All trees are clones of 3 prefabs generated by SpeedTree, with original materials, and with 3 LoDs where the last level is a billboard (all generated by SpeedTree). I am using Unity 2019.4.19f1.
Is there any way to cut down on this time? I had to reduce the number of trees in the scene by half to get FPS above 60. Could this be caused by the LoD groups? Occlusion culling is disabled on the main camera.
Here is an output from profiler:
Any help is very appreciated, thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220613030024im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can the Cull option in shader improve perfomances ? 2 Answers
LOD not improving performance as much as it should, see profiler screenshots 0 Answers
GameObject disappear as I move/rotate the camera 1 Answer
Performance Question 1 Answer
Occlusion culling and mesh combining possible and working? 0 Answers