x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

LandscapeGrassType slow to display grass on game start

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!

Product Version: UE 4.8
Tags:
more ▼

asked Aug 08 '15 at 08:13 AM in Rendering

avatar image

braindigitalis
162 7 9 11

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hi braindigitalis,

That's pretty strange, we haven't seen that behavior before. Our sample content such as the Kite Demo place grass immediately on level start with a very large number of instances across multiple grass types. What is your Landscape component size? If it's really really small I could see this taking some time because the placement is done on a per-component basis, but not 50-80 seconds.

Are you able to send us a project which demonstrates the issue?

Thanks Jack

more ▼

answered Aug 10 '15 at 09:49 AM

avatar image

JackP_oldaccount
1.3k 37 11 46

avatar image braindigitalis Aug 10 '15 at 10:50 AM

Thanks for the response jack!

I will let you know my landscape component size when I'm near my pc. For now I've worked around the issue somewhat by finding a compromise between density and time taken to initialise, a density of 7500 seems to take about 10 seconds to appear, which is much more acceptable...

avatar image DamirH Sep 22 '15 at 10:14 AM

I am suffering from the same issue: https://forums.unrealengine.com/showthread.php?85374-Landscape-Grass-Takes-Forever-To-Show-Up&p=384370#post384370

My landscape is 1 square km, here's the size data:

alt text

Depending on what tile the grass starts streaming from it can take anywhere between 5 and 60 seconds for it to reach me.

avatar image SDVenom May 08 '17 at 08:54 AM

Hello guys! Any updates on this issue? Have it all the time from the begining of LandscapeGrassOutput to this time (4.15)

(comments are locked)
10|2000 characters needed characters left

I'm having the same problem. The foliage is built into my landscape material. On startup it takes about a minute to fully appear. It starts from the left hand side of the landscape and gradually starts to fill in from left to right. It's quite a small landscape.

more ▼

answered Feb 05 '19 at 09:15 AM

avatar image

BloodMoonMode
1 1 1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question