• Advertisement
Sign in to follow this  

Texture binding

This topic is 4566 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I bound a texture with
glBindTexture(GL_TEXTURE_2D, textureName);
and enabled it with
Afterwards I wanted to render another object without a texture and I disabled the texture with
But the object appeared in the color of the first pixel of the texture I bound before. If I change the color of the first texture pixel, the object color changes too. But the texture was disabled, so how can that happen? I also tried to call glBindTexture with NULL, but this did not change anything. How can I disable the texture completely? Thanks in advance.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement