Lights Parameters for semilighted spheres

Dear forum users,

I would like to get the result as in the attached picture. I have tired to do that for a few days. I supposed that for an experienced OpenGL programer parameterization for lights and materials is “childish trifling”. Due to, I woudl like to ask about your help.

Thanks in advance.
Rafal