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"

Trees using tesselation painted with foliage cause huge performance drops

Hello,

I'm getting the same issue as described in this post: https://answers.unrealengine.com/questions/190565/472-project-update-huge-performance-drop-and-bugs.html

Basically I'm using some speedtrees that have a tesselated/displaced trunk placed as foliage (With a custom shader I've done). The second I do that, I get a big performance drop. Is there a way to fix or work around this issue, or is displacement just a big no-no when using foliage?

Would adding a non-tesselated/displaced LOD1 change anything?

Thanks

Product Version: UE 4.14
Tags:
more ▼

asked Feb 10 '17 at 02:19 PM in Bug Reports

avatar image

DVL
1 2

avatar image AndrewHurley Feb 14 '17 at 10:36 PM

Hey DVL,

So having tessellation on foliage is going to be resource intensive. The greater the density you paint with the tessellated mesh, the more expensive it will be render the scene. As you suggested, I would definitely look into have a LOD1 that transitions relatively close to the player so that only the tessellated meshes are the closest.

Is there a reason you need to have tessellation and displacement on your foliage instances?

Thank you,

Andrew Hurley

avatar image DVL_Gearbox Feb 15 '17 at 04:00 AM

Basically because I'm using it to place trees and my trunks require it. The mesh gets tesselated based on distance, so around about 7 meters away the tesselation is gone although there's probably still something running under the hood if I don't change the trunk's material on the first LOD?

I want to place them using foliage because it's much more usable this way, and always sticks to the landscape. I could always place them by hand as static meshes, but I'd like to find a functional way to use them as foliage. Is that not a good plan?

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

1 answer: sort voted first

Not necessarily a good plan unless you have your Base LOD (using the tessellation) change to LOD1 at a very close distance. The only reason you need tessellation and displacement are for viewing a model very close to the camera to give a convincing effect. Utilizing both of these at distances where the player will not notice is a waste of CPU and GPU resources.

Cheers,

Andrew Hurley

more ▼

answered Feb 15 '17 at 03:03 PM

(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