[SOLVED] glColor3f() and textures

Started by h3xStream, April 30, 2011, 18:51:23

Previous topic - Next topic

h3xStream

I'm using GLModel (http://potatoland.org/code/gl/) to load models with textures.

If i try to draw lines with plain color (glColor3f), they appears black.



(Without the model being loaded)



kappa

without looking at any code, its likely you need to disable textures (or lighting) before drawing the lines.

e.g. by calling

GL11.glDisable(GL11.GL_TEXTURE_2D);

h3xStream

That's what I was looking for. Thanks  ;D