Very stange bug with billboards

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
lantis
Posts: 64
Joined: Thu Jun 17, 2004 2:46 pm

Very stange bug with billboards

Post by lantis »

Look at normal scrrenshot:
Image

And its happen if im try make trnasparent texture in .x file with tree
for(int i=0;i<Model1->getMaterialCount();i++)
{
driver->makeColorKeyTexture(Model1->getMaterial(i).Texture1,video::SColor(0,0,0,0));
Model1->getMaterial(i).MaterialType = irr::video::EMT_TRANSPARENT_ALPHA_CHANNEL;
Model1->getMaterial(i).EmissiveColor.set(255,255,255,100);
}
Image

Billboard texture with player name stand behind tree! ;(( any ideas?
Post Reply