Implemented global fog effect.