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"

landscape foliage performance - Grass vs Foliage

Hello all

i am in the process of making a mid-to-large map for a first person shooter trying to achieve as much realism as i possibly can, whilst also trying to keep up the frame rate to something sensible. now, i will point out i am a seasoned veteran with UE4 so its not like i am totally inexperienced, however for the life of me i have had so many pitfalls with the foliage system given that there is always 4 different ways to do the same thing when making games, and they alll have pros and cons.

where i am at the moment is comparing the landscape layers + grass tool, vs hand painted foliage for speed of production, quality and most importantly, performance. i want all 3.... but.... i mean, lets face it, that is abit of a dream but i will settle for 2 of them

in everyones opinion - what would the best way to approach said problem.

OPTION 1) landscape layers/grass approach

multiple material functions of grass. mud etc... driving where say long grass, field grass, no grass, wheat field, flowers go etc.... sitting in a landscape material with layers, layers driving grass placement.

PROS :

  • fast to implement, pretty much just paint what you want where

  • easy to change density/scale/parameters - change multiples at once in grass file

CONS:

  • even when using the same grass base material to drive 4 different grass types, still gets treated as 4 landscape layers which even though is technically using the same textures/material each time for the ground, gets more expensive on the landscape material very quickly

  • does not seem (from what i can tell) to be grouping anything for performance

  • does not seem to - despite it being the same textures/MF - be able to tell itself "oh, i am the same kind of grass i will treat this as the same performance lookup instead of rendering it again just to tell the grass how to behave

Option 2) Paint your landscape, then paint on your foliage

Same as before, material functions for grass. mud, water etc... sitting in a master landscape material, only we do not use this to drive the grass.

PROS:

  • can reduce landscape layers (just have 1 grass instead of one per grass type) which makes it a lot cheaper on the material/landscape

  • from the documentation has the ability to clump similar assets to reduce drawcalls good for performance

  • more artistic freedom

CONS:

  • a nightmare to manage the entire landscapes foliage, having to hand paint/delete by hand/change

  • not as consistent placements

  • longer dev time to paint the foliage in

i guess my big question that i feel i am asking is - am i missing something? what is the best way to do a mid to large scale map with landscape and foliage, is there some third magical option i am just not seeing? i have read the grass/foliage/landscape documents off my heart and i am not 100% seeing a solution there and i feel it seems like this side of the engine needs some serious optimisation both in performance and usability.

thanks all, i appreciate any feedback of course

Mark

Product Version: UE 4.20
Tags:
more ▼

asked Jul 18 '19 at 11:24 AM in Using UE4

avatar image

Lost Artist
6 1 3 3

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

0 answers: sort voted first
Be the first one to answer this question
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