add constants about fog and trying another more effective way to rewrite fog