more accurate sky gradient