	public void setGLState(GL2 gl, int light) {
		if (enabled) {
			gl.glEnable(GL2.GL_LIGHT0 + light);
		}
		else
			gl.glDisable(GL2.GL_LIGHT0 + light);
		gl.glLightfv(light, GL2.GL_AMBIENT,
				ambientColor.getComponents(null), 0);
		gl.glLightfv(light, GL2.GL_DIFFUSE,
				diffuseColor.getComponents(null), 0);
		gl.glLightfv(light, GL2.GL_SPECULAR,
				specularColor.getComponents(null), 0);
	}

	public void setGLState(GL2 gl, int light) {
		if (enabled) {
			gl.glEnable(light);
		}
		else
			gl.glDisable(light);
		gl.glLightfv(light, GL2.GL_AMBIENT,
				ambientColor.getComponents(null), 0);
		gl.glLightfv(light, GL2.GL_DIFFUSE,
				diffuseColor.getComponents(null), 0);
		gl.glLightfv(light, GL2.GL_SPECULAR,
				specularColor.getComponents(null), 0);
	}
