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);
values[0] = dirx;
values[1] = diry;
values[2] = dirz;
gl.glLightfv(lightNum, GL2.GL_SPOT_DIRECTION, values, 0);
gl.glLightf(lightNum, GL2.GL_SPOT_EXPONENT, concentration);