The viewport renderer supports several global lighting modes, from no lighting whatsoever to full lighting with shadows.
No lighting, constant shaded.
Basic lighting from a single directional light defined in the display options.
Good quality lighting from up to 10 basic lights (area lights modeled as point lights, limited environment lights).
High quality lighting from an unlimited number of lights including area, geometry, environment and ambient occlusion.
High quality lighting with shadows.