Here is the example, you need to have the Complex-softwares shader package installed to open it (I don't remember if it currently comes with CF)
You're the best, thanks a lot!
Sergio you're a beast! Thank you a lot as well!!
You're welcome guys! I must say that doing this example has improved certain aspects of the engine I did previously, so it has been useful for me as well.
I'm improving and adding a few things to the example so I'll share it when it's done.
@Jonathan; @Zinume;, Sorry guys for the delay, I forgot to upload the new example, here it is:
*I have fixed some bugs, modified old formulas, added a counter that marks the hours (you can also choose the initial hour) and the indicator now moves smoother and more precisely so you can have better control of the time speed.
I think now the day and night transitions look better and more realistic.
there is a good example of shadow positioning here that would work well with day to night using Add/subtract layers for lighting