i got a problem that seem a bug with the method draw2DImage that can scale the image using the dstrect, the alpha transparency work but it seem that even with a value of 255 the image is still transparent.
Example:
I draw the logo using the following code:
Code: Select all
driver->beginScene(true, true, video::SColor(255,60,60,60));
smgr->drawAll();
driver->draw2DImage(logo, core::rect<s32>(0,0,512,512),
core::rect<s32>(0,0,logo->getSize().Width,logo->getSize().Height),0,
&video::SColor(255,255,255,255), true);
driver->endScene();