final Light [] lights = {
new DirectionalLight(new Color3f(1, 1, 1), new Vector3f(1.5f, -0.8f, -1)),
new DirectionalLight(new Color3f(1, 1, 1), new Vector3f(-1.5f, -0.8f, -1)),
new DirectionalLight(new Color3f(1, 1, 1), new Vector3f(0, -0.8f, 1)),
new DirectionalLight(new Color3f(0.7f, 0.7f, 0.7f), new Vector3f(0, 1f, 0)),
new AmbientLight(new Color3f(0.2f, 0.2f, 0.2f))};
for (int i = 0; i < lights.length - 1; i++) {
// Allow directional lights color to change
lights [i].setCapability(DirectionalLight.ALLOW_COLOR_WRITE);
// Store default color in user data
Color3f defaultColor = new Color3f();