My image has transparent bits which come out black when loaded into the game. i have left bits of it transparent on purpose but something happens to it when it get loaded, all the transparent bits become black.
The image is .png and 32x32 if that helps
Anyone know whats going on?
Image has transparent bits which come out black when loaded
You have to load it with the right settings. If you're applying it to a node, you must set the nodes material type to EMT_TRANSPARENT_ALPHA_CHANNEL with for example.
Code: Select all
node->setMaterialType(E_MATERIAL_TYPE);