Added a render loop, so that we can animate the day night cycle