The direction of the lighting must change with time, to simulate the effect of a sun rising
and setting.
Ensure that it's written in such a way that the duration of a day/the sun's speed can be easily altered, preferably via a public field.
Also would be great if it would be written in such a way that we could later switch between time of day.
Perhaps implement this based on the idea of time of day i.e. position sun based on time of day e.g. 1700 -> evening sun. This kind of bleeds into a stretch issue which is full day/night cycle. Just keep it in mind when dealing with this issue.
From specification:
Ensure that it's written in such a way that the duration of a day/the sun's speed can be easily altered, preferably via a public field.
Also would be great if it would be written in such a way that we could later switch between time of day.
Perhaps implement this based on the idea of time of day i.e. position sun based on time of day e.g. 1700 -> evening sun. This kind of bleeds into a stretch issue which is full day/night cycle. Just keep it in mind when dealing with this issue.