Emit Dynamic Material at Night
I've created a day/night cycle, but I'm also looking to make an object start glowing at certain points on the timeline.
I have made a street lamp turn on at certain times of the day but I can't seem to figure out how to slowly increase the glow value rather than having it immediately turn on.
Here is my level blueprint for the day/night cycle:
And this is the blueprint used for the dynamic light material to just flick on:
asked Oct 14 '15 at 08:23 AM in Blueprint Scripting
You need to use that Lamp Val variable directly instead of comparing it if you want to achieve transition. I.e. the default value of the glow is 15, and Lamp Val is 1 at night > 15 x 1 = 15 - when it is day time Lamp Val is 0 in timeline so 15 x 0 = 0 meaning no glow. So you'll just multiply Lamp Val with 15 and connect it to set scalar parameter node(you only need one, since you wont be using Compare anymore)
answered Oct 15 '15 at 01:26 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here