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"

Can I control foliage parameters through a material?

I'm trying to seamlessly blend my grass mesh with my terrain over distance. I'd like to scale down my grass mesh over distance as well as increase the density since scaling down will open up lots of space between grass meshes. Is there a way I can control something like mesh density and scale for foliage (grass) through my material or does it/can it be done through blueprint and how?

Product Version: UE 4.12
Tags:
more ▼

asked Feb 06 '17 at 05:02 PM in Using UE4

avatar image

Volfox
10 4 5 6

avatar image Volfox Feb 08 '17 at 01:07 PM

Can anyone help me?

avatar image Carluw Feb 08 '17 at 02:10 PM

Trought material the only ways I know is trought vertex animation, but that isn't cheaper for foliage, it is used in particles and effect

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

1 answer: sort voted first

I think this has to be done via blueprints or exposed variables. Materials are not allowed to change things to the mesh it is applied to. And the mesh is not allowed to do so with foilage settings. So the material is also not allowed to do so with foilage. Another approach might be to add a second pair of grass foilage that will only appear once further away with LODs. The first LODs will just show nothing at all. Yet to do so you will need a second mesh asset because you cant import the same mesh asset twice in the foilage editor.

more ▼

answered Feb 08 '17 at 01:25 PM

avatar image

Gameking002
1 1

(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