Foliage performance with FOV changes
I'm getting strange performance decreases when decreasing camera FOV around foliage. I set up a test level using the landscape mountains project. I used the foliage tool to place ~200 trees on one side, and a single tree on the other. (Disclaimer: my video card died recently, so I'm using an old one to run these tests... not the best performance, but I think it still illustrates the effect)
This level without foliage instances gives about 90fps, and zooming doesn't affect that performance. Putting 1 tree in the level and zooming will drop the FPS from 90->70. Having 200 trees behind the player reduces that even further, starting at 45fps and dropping to 20fps as shown in the video. So changing FOV around any foliage at all causes an extreme performance hit. I originally had a level with 1000 trees, and zooming killed the framerate. Then I noticed it still occurred with only 1 or 0 trees in view. Is there any way to work around this, as zooming is a big part of my project.
I've only just started playing around with foliage, and I'm not really sure how the LOD or instance grouping is working under the hood. But I'm pretty sure the FOV thing is a problem regardless, since it occurs without any foliage in view at all.
asked Oct 16 '15 at 05:05 PM in Bug Reports
This behavior is expected and we do see a slight drop in FPS on our machines while trying to test this issue. However, the drop we see is not comparable to the one you see. We believe this is due to the hardware on your machine.
answered Oct 29 '15 at 02:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here