Skip to main content
edited tags
Link
eephyne
  • 359
  • 1
  • 4
  • 11
Source Link
eephyne
  • 359
  • 1
  • 4
  • 11

how disable texture after drawing an object ?

i try to make a textured object then draw other without (only colored).

i had tried to play with glEnable/Disable(GL10.GL_TEXTURE_2D) , gl.glEnable/DisableClientState(GL10.GL_COLOR_ARRAY/GL10.GL_TEXTURE_COORD_ARRAY);

But i never get the result i expect.

(first colored + textured then others textured and colored too) (first colored and not textured then other colored and not textured)

i don't know if this is because i don't disable some things at the good place or if i missing something.