I'm trying to figure out what determines the energy of the bands, either conduction or valence band. Mostly I can read about the bandgap energy, which is mostly just the difference between $ E_C $ and $ E_V $ but there are also more concise expressions like $ E_g(T) = E_g(0) - \frac{ \alpha \cdot T^2 }{T + \beta} $. According to wiki, $ E_g(0) $ is "just" a material constant.
In short words: What determines $ E_V $ and $ E_C $ ?