The main factor that determines the global wind pattern is uneven heating of Earth's surface by the Sun. This uneven heating creates differences in air pressure, leading to the movement of air and the formation of wind patterns. Thus, the correct answer is:
- uneven heating of Earth's surface by the Sun.