hello, i am trying to get a pixels color in 8Bit RGB mode, so i try this:
ByteBuffer snap = ByteBuffer.allocate(3);
gl.glReadPixels(mp.mouseX, mp.mouseY, 1, 1, GL.GL_RGB, GL.GL_BYTE, snap );
unfortunately this gives me values from 0 to 127 only, which would be 7Bit per channel.