So this has me messed up beyond belief: how do I optimize foliage? I’ve tried culling, LOD’s, less dense foliage, but anytime I make a forest environment the fps drops from 90-120 to 20-40, which isn’t playable. I have an RTX 3080 so if it performs that way for me than no one will be able to play these games. It isn’t even a big area. It’s a little smaller than the default landscape size when you create a new landscape. I know I’m not gonna get 120 fps in a forest but I want my players to have a stable 60.
For better context, here are a few photos. My trees aren’t complicated (at least as far as I can tell), they’re spread out, and the last picture shows you how small it is because that’s the whole game.
I got them on the marketplace (the Stylized Indian Temple pack). Attached is a screenshot with the tree info on it (It’s LOD 1 because I’m not using LOD 0 on that tree). I went through and deleted everything one at a time, but nothing seemed to get my fps back up. Even when I deleted the foliage, it only went up about 10, which is weird because adding foliage is what initially caused it to drop.
I noticed you have streamed levels. Did you unload some, or all?
You must get a massively high fps on an empty level, right?
Try just a rough remake of the level, and keep your eye on the fps as you go.
I know there are problems with UE5 and 3000 series cards at the moment, I guess it could be related to that.
If you’re totally stuck, you can PM a link to the project if you like. But I won’t be able to take a look until tomorrow late. ( If you want to do that just migrate the critical parts to a new empty project and zip it ).
Yeah I get 120 on an empty level. Basically when the game starts the only level that’s loaded is that picture I sent showing the whole game. The other levels are the sky, blockout, a deleted level that is being cut from the game, and a room that shows up at the end of the game. All non-foliage meshes are nanite. I’m not fully aware of the issue with 3000 series cards (other than the constant crashes, but that’s a separate issue). I’ll play around with it some more and if need be I’ll PM the project Tuesday morning.
I have the same issue, but it is MUCH MUCH worse than the problem here. I use Megascans trees with the lowest LOD I could use and foliage that isn’t allowed to go below LOD 2. Even with a light amount of this stuff, I get 5-10fps looking straight ahead on a small open world. I don’t know how to enable level streaming, and texture streaming says it’s on but I don’t think PIE allows that.
Please help me with this. I can’t get help elsewhere.
Also, I do need some kind of guidance on where to get a good player model based on SK_Mannequin because my metahuman caused me months of work lost thanks to crashes.
Try disabling dynamic shadows, if this gives you a fps boost greater than 20-30 fps, then do the following,
Go to the LOD sections in each mesh, disable “Cast Shadow” on each material for All Loads EXCEPT THE FIRST ONE (for you lod 1 or maybe 0)
After this go to the main lights of your scene (the directional light aka sun) and set contact shadow length to 1.0 or fine tune it to your likings, and see if there is a perfomance boost, this works for me a bit not too much tho,
Thanks
Lonely