Login  Register
Why does the RGB value always equal to (0, 0, 0) when I use gl2.glReadPixels(e.x, viewport[3] - e.y, 1, 1, GL2.GL_RGB, GL2.GL_FLOAT, FloatBuffer.wrap(color)); – Email Subscription
Enter below your email address and we will send a confirmation email to you.
Enter your email address

You will receive an email for each new message posted under this topic.