My textuer disapear

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…

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.

ok. Thanks