Partially revert previous commit, use fog blurring if glGenerateMipmap is unavailable.