factors affecting variation in light and temperature