This test was taken from Processing.org which tests to make
sure the ambientLight() and directionalLight() work correctly on a box and sphere.
// Test from Processing.org void setup() { size(100, 100, P3D); } void draw() { background(0); noStroke(); directionalLight(126, 126, 126, 0, 0, -1); ambientLight(102, 102, 102); translate(32, 50, 0); rotateY(PI/5); box(40); translate(60, 0, 0); sphere(30); }