}// Restore the previous attribute state.
glPopAttrib();
// Restore the view port.
glViewport(0, 0, Display.getWidth(), Display.getHeight());
lightProjectionTemp.load(lightProjection);
lightModelViewTemp.load(lightModelView);
lightProjection.flip();
lightModelView.flip();
depthModelViewProjection.setIdentity();
// [-1,1] -> [-0.5,0.5] -> [0,1]
depthModelViewProjection.translate(new Vector3f(0.5F, 0.5F, 0.5F));