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"

Instanced foliage actor fps question

I've got an instanced foliage actor thats using meshes from the kite demo, it seems to be badly affecting my game fps esp on low end hardware, how can I reduce this.

Atm I'm hitting 10 fps and obviously need to triple that

Product Version: UE 4.15
more ▼

asked Jan 20 '19 at 06:14 PM in Rendering

avatar image

51 6 14 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

One of the great things about the foliage system (foliage tool) in UE4 is that it uses Hierarchical Instanced Static Meshes. What this system does is split up the meshes into a hierarchy, cull them together with their group, and then only use one draw call per group. This is very fast compared to directly placing static mesh trees in your map.

The trees in the KitDemo are not fast. They are not optimized well at all. To start with, they need a lot of tweaking to their LOD settings. This will get you a massive increase in fps.

I have used 100's of KitDemo trees on a map and still get over 160 fps. But for maximum performance you will want to create your own optimized foliage. Try to minimize the number of verts per LOD and try to LOD down as fast as you can without pop. We try to shoot for LOD's of 40k, 20k, 10k, billboard for most trees.

The current game I am working on has over 1,000 trees that look better than the KiteDemo trees and are all visible at once. I get close to 150 fps when putting all the trees in my field of view. So it can be done, it just takes a lot of optimization work.

more ▼

answered Jan 21 '19 at 05:48 AM

avatar image

2.6k 63 28 281

avatar image Delta1 Jan 21 '19 at 07:57 AM

Because I'm an idiot can you please show me exactly how to do this, I'd really appreciate it as I I've already missed a deadline to demo the game.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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