View Full Version : Clearing texture
plastichead
09-07-2001, 07:10 AM
How do I clear textures to a specific color? Well, I could do it by allocating some memory and then paste it to the texture with glTexSubImage2D() (or passing it to glTexImage2D()). But is there a faster way or a way using lesser memory?
jxruan
09-07-2001, 10:46 AM
Can you redraw the object with texture disable? Just a suggest http://www.opengl.org/discussion_boards/ubb/smile.gif
Originally posted by plastichead:
How do I clear textures to a specific color? Well, I could do it by allocating some memory and then paste it to the texture with glTexSubImage2D() (or passing it to glTexImage2D()). But is there a faster way or a way using lesser memory?
plastichead
09-08-2001, 03:10 AM
Oh yes, that hurts! You are right.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.