Changing Decal Material parameter
Hi All, I wonder if you can help me. Im trying to work out the best way to change the emissive color on a decal within a Map, which is triggered by a event.
Ive created a material which has 4 circles on it, which glows Red. if used this to create light paths all round the level, and i would like these to turn another color when the player pushes a button. Ive followed the unreal videos on dynamic materials and they work for the button, but as the decals aren't in a blueprint i don't seem away of controlling them. I've tired in the level blueprint but as there is no construction script i don't seem how todo this properly.
Any help would be appreciated.
asked Sep 29 '14 at 08:30 AM in Rendering
Hey EddieEllis -
The quickest and easiest way to do this is to set up a Material Parameter Collection and Assign a vector parameter to be the color of your decal material and then change the value of the MPC in your blueprint. Here is the documentation which should help you get started, https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ParameterCollections/index.html
Thank You and if you need further help let me know -
answered Sep 29 '14 at 07:08 PM
Lovecraft_K ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here