Why my FPS drop to below 30 using foliage?

Hi, I just new learn unreal engine, I’d like to ask why anytime I try to use foliage on landscape mode always getting drop FPS to below 30? Mesh I try to add in this scenario grass from the Megascans. Any solution for my issue? I’m using GTX 1650 (PS Edit: The current grass used from procedural nature pack)

Welcome to placing foliage :slight_smile:

Populating your level with a lot of actors, even if they are instanced ( like foliage ), will always take a hit, and is a balancing act at the best of times.

Off the top of my head, ways to fix grass problems are:

  1. Use a simple mesh ( less than 1k polys )

  2. Combine several grass meshes into a clump, if this is not already done for you. Place the clumps.

  3. Make sure they’re not overlapping

  4. Make sure the grass mesh has a very efficient LOD system. Basically, if you’re not putting your nose on the mesh, it should be at about LOD 2.

  5. Ensure the material is pretty simple

  6. Setup the foliage cull distance correctly

And many, many more…

Hi @ClockworkOcean thank you for the answers. I’ve try your suggest and can get that FPS up again, but I don’t get it for your answer number 2 and 3, if you don’t mind to give some example clumps mean and overlapping grass? or are you meaning the overlap from density of the grass?

I mean don’t use this:

image

use something like this:

As for (3), if you crank the density right up, you’ll start to overlap the meshes, which is just a waste of resources.

Overlapping:

Not overlapping:

PS: You can make the clump mesh if you don’t have one, very easily using ‘merge actors’.

Oh I see, okay then @ClockworkOcean for the explanation, get better now in my head for it. Thank you

1 Like