Variable Hue shifting

Hello,

I have been recently working on a tent asset:

The main colors are driven by a layer in overlay in the tent material. As you can see under

What I would like to do is to connect the hue shift function factor to a random float between 0 and 1. And I would like the operation to run everytime a new tent is spawned in the game.

Eventually, I would like to add a emissive light texture (potentially animate it) to simulate flashlights inside the tent. As you can see below:

My two questions are as follow:

  1. How can I apply the hue shift to my layer and have it to change every time a new tent spawns?
  2. How can I have the Emissive light layer to fade in at dusk and fade out at dawn? keeping in mind that I have already the time variable from a clock I have been doing in blueprint earlier.)

Thanks for the help!

You need to use parameters and dynamic material instances, as explained here:

Thank you! Very helpful