I am doing a cable material (to make notice the player if is on or off) and I have a problem.
I need to do a material that changes to blue texture to yellow texture. Thats easy and I can do it. The problem is: I want to maje that blend (blue to yellow) in the cable direction (like a progress bar, that fills from left to right. I want the same to my material. The bar is blue and it fills from left to right with yellow)
Anyone knows how can Do that? I haven’t see any tutorial for that, only for material blend (all the material)
You can use a simple linear gradient and a scalar parameter, so you can compare them with “IF” and plug the results on your “lerp” alpha.
Inside your blueprints you can create a dynamic material so you change the scalar parameter with a timeline when you want and it will result on a “linear wipe” effect, wich i think is what you want.