gl.glLightfv(lightNum, GL2.GL_SPECULAR, values, 0);
gl.glLightfv(lightNum, GL2.GL_AMBIENT, black, 0);
values[0] = posx;
values[1] = posy;
values[2] = posz;
gl.glLightfv(lightNum, GL2.GL_POSITION, values, 0);
gl.glLightf(lightNum, GL2.GL_CONSTANT_ATTENUATION, attenx);
gl.glLightf(lightNum, GL2.GL_LINEAR_ATTENUATION, atteny);
gl.glLightf(lightNum, GL2.GL_QUADRATIC_ATTENUATION, attenz);
gl.glLightf(lightNum, GL2.GL_SPOT_EXPONENT, 0.0f);
gl.glLightf(lightNum, GL2.GL_SPOT_CUTOFF, 180.0f);