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"

Making only certain static meshes using a material fade (rather than all meshes with that material)

Hello! I've been banging my head against the wall with this one and was hoping someone might be able to help me. Basically what I'm hoping to achieve is fading out specific static meshes when a certain condition has been met in the game (the player entering a trigger volume). All of my meshes use the same single material, but I want to make only certain instances of the static mesh fade. The fade is achieved by manipulating the opacity scalar parameter. Maybe there's a better approach, but I have been assigning different material instances to the objects in my scene, in the hope that this would allow me to independently manipulate the same scalar opacity parameter within different instances, but I'm not having much luck. Any guidance would be greatly appreciated.

Product Version: UE 4.22
more ▼

asked Jun 13 '19 at 08:57 AM in Blueprint Scripting

avatar image

Andrew Lindsay
3 1 2

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

1 answer: sort voted first

Sounds like you need to use Material Instance Dynamic (MID). You can read about them here:


more ▼

answered Jun 13 '19 at 09:39 AM

avatar image

181 2 5 6

avatar image Andrew Lindsay Jun 13 '19 at 12:38 PM

Thanks a lot, I've managed it now using MID :D

avatar image EmAr Jun 13 '19 at 01:09 PM

You're welcome! If my answer resolved your question, it's a good idea to mark it as resolved/accepted. That way, I get karma and others looking for unresolved questions will have an easier time finding one.

(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