This shouldn`t be in the news forum im afraid.
Try here.....
http://www.dcemu.co.uk/vbulletin/forumdisplay.php?f=80
![]()
Hi guys,
how can i clear an Image with full transparency pixels?
The function is:
void clearImage(Color color, Image* image)
{
int i;
int size = image->textureWidth * image->textureHeight;
Color* data = image->data;
for (i = 0; i < size; i++, data++) *data = color;
}
i also try to use this -> 0xff000000 as a 1st parameter (color). But no luck at all. Just a full black "layer".
Any suggestion?
This shouldn`t be in the news forum im afraid.
Try here.....
http://www.dcemu.co.uk/vbulletin/forumdisplay.php?f=80
![]()
Are you rendering the models in the correct order? (Reverse painters algorithm). Are the blending modes on?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks