I’m trying to set up a dynamic emissive material that can be used in simulating a traffic signal light
set up.
I want to eventually set up the traffic light as a class blueprint which I can then place in any game level
and use a local level blueprint to make adjustments to the timing of lights on the adjacent streets.
For now I’m just trying to get one material to switch on it’s emissive property when you start the level.
I’ve looked over the blueprint content example map and also this tutorial:
and this discussion:
Here’s what I’ve set up so far:
The material
http://www.artbywaqas.com/HELP/unreal4/dynamic_emissive_light/material_01.JPG
I set up scalar vector to control the emissive level
The construction script:
http://www.artbywaqas.com/HELP/unreal4/dynamic_emissive_light/construction_script_02.JPG
DM_Light is the material instance dynamic
Event Graph:
http://www.artbywaqas.com/HELP/unreal4/dynamic_emissive_light/event_graph_02.JPG