Improved day night transition