Activate Decal Texture to glow...
I have a simple task, or so I thought. I have a decal texture that I want to glow through emissive. I want the glow to start when a player enters a trigger volume. I tried a few ways and the last way is in the image. Any help on this would be great. I figure using a dynamic material would be the way to go. Any help would be great!
asked Sep 23 '15 at 02:17 PM in Blueprint Scripting
I think this may look like this:
answered Sep 23 '15 at 03:06 PM
You should take a look at Material Parameter Collections in the documentation: https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ParameterCollections/index.html. Through the use of this page, you'll be able to create a parameter collection, which in your case would only include your emissive strength parameter. The blueprint shown in the tutorial will need to be modified a bit. I was able to get my material to glow by using an OnActorBeginOverlap on a nearby box trigger and then using a set scalar parameter node to set the emissive strength parameter to 100. Then OnActorEndOverlap, I set the scalar parameter value back to 0 to stop it from glowing when the player exits the trigger. I hope that this information is helpful!
Have a great day,
answered Sep 23 '15 at 02:55 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here