View Full Version : My textuer disapear

11-13-2001, 12:05 AM
I have created a Effect manager... I saw it in a demo so I made my own.. the problem is.. my first effect is a rotating cube with a texture.. simple.. but if I change so the cube will be render after anything else and not first the cube will be black.. and no texture will be shown.. in some angels I can se a glimt of the texture but then it disapear again.. looks wierd becouse it works perfect if I render the cube alone and before all other objects..

11-13-2001, 12:21 AM
Sounds like you are enabling some states but forgets to restore them after you used them, or something like that. Go through your code and MAKE SURE you disable everything you enable as soon as you don't need it anymore.

11-14-2001, 12:14 AM
ok. Thanks http://www.opengl.org/discussion_boards/ubb/smile.gif