LandscapeGrassType slow to display grass on game start

braindigitalis
Sat, 08 Aug 2015 08:13:32 +0000
Rendering

Hi,

I am using the LandscapeGrassType with three simple grass meshes on UE 4.8.2.

I have placed them on a 63x63 landscape, with each of the three meshes having a density of 18000, which is dense enough to actually look natural like grass.

The problem is that when my game starts, every time the grass takes a minute to appear. I have timed this and it literally takes between 50 to 80 seconds depending upon what else the PC is doing.

The game still runs whilst the grass is not apparent upon the terrain, at full 60 frames per second.

So, this leads to two questions:

Firstly is there a way to speed this up? Using normal foliage placement to place the grass takes far too much memory and rendering time to complete with this amount of grass foliage, so LandscapeGrassType is performant, it just needs to work faster initially.

I can decrease the number of instances of the mesh, say to 5000 which yields a faster more reasonable result but the terrain looks too patchy then and not natural.

Secondly, if i can’t make it work faster, is there a way i can delay the start of the game until the grass is rendered closest to the player?

Thanks!

18 posts - 13 participants