Yes, glShadeModel has an effects since this controls how values are interpolated across a triangle.
As for lighting, you are suppose to do the lighting yourself in a vertex shader or fragment shader. All glLight functions are irrelevant including glLightModel.