So here we have the first of the newly implemented features. actual day and night which was pretty easy to implement in the end. A switch of the sprite material to recieve light then I could tie the lighting in with the changes of the clock.
Right now Ive got one method that triggers when the clock updates at a specific time which runs a switch statment and uses the current hour and an array containing colour and brightness values to alter the light. The light defaults to a single value for all indoor scenes and the method is called again when exiting.
0 comments