I have a simple system with one mesh and a planet like below:
And I make the planet orbit the centre in the least demanding way I found:
Now, I want to change the fake light direction, which is the vector parameter value seen in the bottom, but I have no clue how to make this work. I think I need to (considering this starting position) first increment red and decrement green values, when the first reaches 1 and the second 0, after that R should tend to 0 and G to -1, then R to -1 and G to 0, and in the end R to 0 and G to 1, then the cycle repeats. I have no idea how to make that work and synchronise it with the revolution cycle. Maybe there is a simpler way to do it, I’d really appreciate some clues, hints on what kind of nodes I will be needing, so I can have a start with this thing. I’m not expecting a ready solution.
I previously posted another question regarding this thing, but then I didn’t know how to even use the vector parameter in this BP (now I know I had to construct it first), so this is actually a different issue.