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"

Is it posible to instance actors instead of static mesh with foliage?

I have four plants and four textures for this plants. I make a actors that you can change the mesh and the color easily, but I want to instanced this plants all around the world. I see that the foliage tool only allow to instanced static mesh. So is posible to instance actors instead of static mesh with foliage? It will be fastest than put plants one by one.

Thanks.

Product Version: UE 4.16
Tags:
more ▼

asked Feb 20 '18 at 12:24 PM in Using UE4

avatar image

David.Borrego
10 4 6 11

avatar image ThompsonN13 Feb 20 '18 at 03:25 PM

i dont believe it is possible at this time i use 4.17 and havent seen any way to do so yet. a few options in your case is to have duplicates of the mesh and use different materials or use one material that randomly selects the different textures.

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

1 answer: sort voted first

Finally, I duplicated all the meshes and put differentes textures each. so I have 16 static mesh...

more ▼

answered Feb 20 '18 at 03:28 PM

avatar image

David.Borrego
10 4 6 11

avatar image ThompsonN13 Feb 20 '18 at 03:37 PM

if your going about it that way i would probably create a master material and then have a material instance for each texture set. this will give you back a little bit of the performance lost. when i say performance lost i mean now that your using 16 meshes instead of one it should be 16 draw calls which is a negligible difference from the original but we try to get every little bit of performance we can right.

avatar image David.Borrego Feb 20 '18 at 03:39 PM

and how can I create a master material? I have no idea to do this

(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