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"

Setting Dynamic Materials Parameters Not Working As W

alt text

alt text

So I am trying to swap out the textures used in materials at runtime, since I would rather have one material with all of my parameters instead of having a library of materials with replicated parameters. This is however proving to be problematic on the engine's side.

When I run my game the textures are totally mixed up and not at all what the same textures look like in the material editor. Any solutions or at least explanations for what is happening?

Thanks in advance for your help.

Product Version: UE 4.15
more ▼

asked May 18 '17 at 03:34 PM in Using UE4

avatar image

45 8 14 15

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

1 answer: sort voted first

Element index 1 means 2nd material in mesh. Use 0 index if your mesh have only 1 material.

more ▼

answered May 18 '17 at 04:24 PM

avatar image

4.3k 81 19 104

avatar image siditious May 18 '17 at 05:05 PM

That unfortunately does not fix the issue. The only reason I changed it to index 1 was because index 0 was causing the same strange behavior and I wanted to see if 1 would do anything different.

(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