I'm having problems with the fader in irrlicht. I may not be using it correctly. Here's what i have:
Code: Select all
driver->beginScene(true,true,SColor(255,255,255,255));
driver->draw2DImage(SplashIntro,core::position2d<s32>(0,0),core::rect<s32>(0,0,256,256),0,video::SColor(0,255,255,255),true);
fader->fadeOut(4000);
env->drawAll();
driver->endScene();
if (fader->isReady())
{
GameStatus = SPLASH1_ISLOADED;
}
what i want to do is fade out SplashIntro, the problem is, is that it does't fade out, it just outputs a black screen. I may not be using the fader correctly so if someone can show me how to do it right, that'd be much appreciated