PDA

View Full Version : texture -> color



trykyn
11-12-2001, 09:08 AM
i am displaying a polygon with a texture

then i want to display a polygon using simply a color
but if i do that my polygon with the texture gets this color and the other polygon is black
whats wrong? can anyone help me?
thanxx

zed
11-12-2001, 03:46 PM
aaaarrrrghhh

zed
11-12-2001, 03:49 PM
sorry about that pressed the clear fields button.
short answer
set colour to white before u draw the textured polygon
for the other poly disable the texturing

trykyn
11-13-2001, 03:54 AM
how do i disable texturing?

ok i made it
nearly the same like enable it,

thanxxx!

[This message has been edited by trykyn (edited 11-13-2001).]

Shag
11-13-2001, 03:57 AM
By reading a book ... (sorry!)

glDisable(GL_TEXTURE_2D);