Reputation: 45
So I made an app using lwjgl for the computer and was trying to make it for android however I can't find replacement for the command glVertex3f() which I use for drawing a single pixel which my app needs to do to set the color per pixel. Is there a way to do per pixel coloring in openGL ES for android, or an alternative?
Upvotes: 1
Views: 202
Reputation: 757
You could use GL_POINTS
for the mode
parameter of the glDraw*
function. This way you could render one pixel at a time.
Upvotes: 1