Basically I want to create a timed ramp that goes from 1 to 0 over 3 seconds for the emissive channel. I also want this to be activated in blueprint (as well as reset so that I can do it over and over again). How would I go about doing that?
#Dynamic Material Instance
Look up information on Dynamic Material Instances
they’re awesome!
attach a scalar parameter to your emissive value
right click convert to parameter
name it Emissive
go into blueprints and look up Dynamic Material Instance and you will see all the related nodes
note that you have to CREATE the material instance at game start, and assign it to your mesh, and THEN change its values as you wish to
Rama
Worked like a charm. Thanks, Eric.
Yeah, I had an MID in blueprint and actually had something working in Tick, but it was slowing everything down (might have been just the editor cause when I restarted it, it was fine), so that’s why I was asking to see if it could be done in the material itself. After switching to a timeline like in Eric’s example it cleaned things up a lot and I imagine it’s faster as well. Thanks for the answer though.
Hey Eric, for that ramp, I see the two nodes used to create it but if you needed the ramp to “ramp” in a different axis or direction would you need to rotate it?
Also, I love that in Maya I could pipe a texture into a ramp color entry ramp to a texture. As far as you know is this possible?
Thanks for the assistance.