View Full Version : unbinding textures
is there a way to unbind textures such that there will be no texture in use when i draw objects? thanks in advance.
zeckensack
04-13-2002, 11:20 PM
glDisable(GL_TEXTURE_2D)
or
glBindTexture(GL_TEXTURE_2D,0)
dont use glBindTexture(GL_TEXTURE_2D,0)
its not the same thing as disabling textures + can in fact give u sideeffects
zeckensack
04-14-2002, 01:15 PM
Yup. I agree. Texture '0' functions just like all the others, before the introduction of texture objects, it was the only thing you had (ie you couldn't bind any others). Sorry for that bs.
Addendum: to 'unbind' a texture, you have to bind another, so I was still a little bit right http://www.opengl.org/discussion_boards/ubb/wink.gif
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.