Hello, I desperately need assistance with our final requirement.
I need to design a flower that only glows at night, and its glowing property should change depending on the weather, which includes both a normal night event and a rainy one. During normal lighting, the flower should glow an orange-like color, but when it rains, it should glow a blue color. The only thing I’ve started is a 3D model of my flower, and I’m not sure what to do next.
Well, if you have your flower ready, then it´s time to code or something like that. There are probably a dozen possible solutions, i tried one, that uses a material parameter collection, for adjusting the glow intensity of the flower material, as well as the different colors for good and bad weather glow.
I used a timeline to drive my sun up and down, then compared its angle to find out, if it is above or below the horizon (and i have just multiplied this angle with the glow intensity, you should use something different, a fix value ^.^). This was just for the sake of testing, you should use some events, that set some variables or flags, that it is currently day or night, with either good or bad weather.
You can just use a branch, that checks those variables, and set the glow intensity to zero, if it´s day, or to your desired glow intensity value, if it´s night, Then another branch to check, if its good, or bad weather, and set the bad weather parameter
thank you so muchhhh