void setup() {
  size(100,100,P3D);
  background(0);
  noStroke();
  sphereDetail(50);
}

void draw() {
  directionalLight(51, 102, 126, -1, 0, 0);
  translate(20, 50, 0);  
  sphere(30);
}