this is quite a nice start Anon - it got some quirks and is perfectible as everything but it is something worth to work with because it is easy to understand for the beginner as well.
Got to fix that dome overlapping the ground though before to be really useful.
Well I do, I always knew my pc was special
It does get weird when the sun goes below the ground though.
I also tried to fade the light to nothing, add a light at the moon position and when the time comes fade it to nothing and fade the sunlight back. Currently there is no transition at all when a new day starts. I tried to use a color interval and change the light transparency for this effect but it didnt work. There must be another way.
I wouldn’t post this in the snippets section if I did.
I myself think this is very unrealistic. I have tried to search some articles about how to do this but couldn’t find anything. Pleade tell me if you know of any.
Also I would like to change the sunlight colour depending on the time of the day with another interval, but I need info
and I know for sure light shadowcasting is working in other projects here - aint the time to dig though but you may try to find hypnos zombieshooter somewhere in the forums and easily see by yourself if you want.