Formation and development of shear bands in granular material