Hi everyone! So, I’m working with a metahuman and I’m trying to write an event that fades a material in on a mouse hover. I have the material appearing on a mouse hover, but it just kind of POP’s in. I want it to gradually fade in instead. Is there a way to slow down a variable or fade in a material in blueprints? Metahumans have a pretty complex material system, as you probably already know, so adding a new opacity material to the metahuman really messes with a lot of the other materials.
Any advice would be HUGELY appreciated.
Thanks everyone.
Hey there @ForeverAutumn! You’re looking for something like the LERP node and then setting it’s value in a parameter. If I remember correctly you’re making a dressup/makeup game right? Then yours will likely be tied to gameplay, so I’d handle the values in BP with either a Timeline (to control the curve and time) or some other BP logic to set the value smoothly. Let me know if you have any questions!
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Lerp node with parameter:
How to make parameters:
How to use the parameters and material instances:
You remembered my game Thank you for your advice. I’m a noob, so it took me just about all day to get this implemented, but I learned a lot along the way and I finally got it working. Thank you for your help!
1 Like