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:
Instead of setting the intensity, you could spawn your light source on the correct time of the day. This way you can put in a timeline in the construct script of this light, and it will give you the correct result you want.
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)