Help Please-Urgent

I am plotting pixel which is actually a small cube on the wireframe sphere,can I show the color of background and foreground pixel different by using lighting or any way.
One thing is I am rotating the sphere,so when
front hemisphere goes to back hemisphere the color must be changed as that rear hemisphere.I tried to create two lightsorces
but as it is wireframe will it create problem??
Any suggestion please.

Many Thanks
Devchand