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"

Fade Set Material?

Hey all,

So I've created an actor blueprint where the Mesh and the Material are editable (so I can reuse the same BP but swap out the mesh and material). The object itself is a physics object and I want to set it up so that when the object is picked up, it fades to a different "Reveal" texture parameter 2D. So far I've got the material swap working fine, but it happens instantly. I've been trying to figure out how to get it to fade from the original material to the reveal material - essentially the base material will always be black, so I thought to simply multiply the texture parameter by a constant vector parameter called DiffusePower that controls the strength of the diffuse texture - but its not working so I'm hoping someone will be able to point out what I'm doing wrong. Here's a screenshot showing my entire setup: alt text

Product Version: UE 4.8
Tags:
more ▼

asked Feb 12 '16 at 11:45 PM in Rendering

avatar image

TorQueMoD
1.2k 90 118 149

avatar image TorQueMoD Feb 17 '16 at 04:48 AM

Anyone? I know its possible to do. Even if all you can do is point me in the right direction for a tutorial or documentation. My searches haven't turned up anything.

avatar image TorQueMoD Feb 17 '16 at 02:38 PM

Ok so I went back and revised my setup to boil it down to a more simple form without even using the Set Material node and its still not working.

alt text

For whatever reason, the ScalarParameter is being called, but its not having any effect on the material. Based on my material setup it should swap from black to white when its run but it just remains black.

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

1 answer: sort voted first

Ok I was finally able to figure out the answer on my own. I added in the functionality to swap out the material as well as the mesh of my blueprint and then made both the original material and the new material into dynamic instances. For whatever reason this fixed the issue. Here's a look at my final setup in case anyone else wants to know how to do this. I'll likely make a video tutorial later. alt text

more ▼

answered Feb 17 '16 at 03:25 PM

avatar image

TorQueMoD
1.2k 90 118 149

(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