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"

[FEATURE REQUEST] Weight Based Landscape Grass Type

It would be awesome if there were a setting in the Landscape Grass Type window for the minimal weight at which it is allowed to put an instance at the location. Because now sometimes your meshes pop up at locations where the weight is 0.01, which looks unrealistic.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 22 '16 at 02:12 PM in Everything Else

avatar image

Roel
2.5k 70 43 143

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

1 answer: sort voted first

Hi Roel,

It's slightly cumbersome but you can do that with an If material node already. Just connect the weight value to the A and A>B inputs, a constant 0 to the A>=B and A<B inputs, with a constant with your threshold value (eg 0.1) connected to the B input. The result will be the weight if it's greater than the threshold, and 0 otherwise.

  • Jack

more ▼

answered Jul 25 '16 at 03:16 AM

avatar image

JackP STAFF
515 16 6 19

avatar image Roel Jul 25 '16 at 08:38 AM

Cool, I will give it a try! Would this impact in-game performance in any way or are landscape grass types pre-calculated? I use it for mobile.

avatar image JackP STAFF Jul 25 '16 at 09:25 AM

There is no runtime performance impact as the grass weight material nodes are evaluated only in the editor.

(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