Modern stellarators are designed with neoclassical transport in mind, potentially leading to anomalous transport originating from drift wave turbulence as the primary cause of energy and particle losses. It is therefore of interest to consider the influence of details of geometry on drift wave stability. In this paper the eigenvalue drift wave equation is therefore solved numerically in fully three-dimensional stellarator geometries using the ballooning mode formalism. The correlation between the details of the configurations such as local magnetic shear (LMS), normal curvature, geodesic curvature and magnetic field strength and the drift wave spectrum is discussed for two different stellarator configurations. A detailed discussion of the localization of the most unstable modes is presented and analysed. It is found that the most unstable modes are localized where the stabilizing effect of integrated LMS is minimum or where the coupling between the integrated LMS and geodesic curvature is strong. Since the more the modes are localized the stronger they will be influenced by the local geometrical effects, the most unstable modes are also highly localized.