glBindFramebuffer (GL_FRAMEBUFFER, picking_fb); draw_scene(); glReadPixels(x, height - y, 1, 1, GL_RGBA, GL_INT, (GLvoid *) data); What ...
確定! 回上一頁