Page 1 of 1

Decal problem

Posted: Tue Oct 13, 2009 2:41 pm
by jamieo01
I know this is a noobish question but i am having problems with a decal i've made I can place it on the wall but the problem is it has a white boarder around it is there any way i can get rid of it
Image
another problem is that when I shoot the decal it goes behind the decal
any help is appreciated.

Re: Decal problem

Posted: Tue Oct 13, 2009 4:18 pm
by jonas
Could you possibly post the image you are trying to use? I have a feeling it has something to do with not having the correct transparency.

Re: Decal problem

Posted: Tue Oct 13, 2009 6:42 pm
by jamieo01
ok heres the file

Re: Decal problem

Posted: Tue Oct 13, 2009 9:10 pm
by Zidane
The alpha bitmap ...

Re: Decal problem

Posted: Tue Oct 13, 2009 9:46 pm
by jamieo01
heres the alpha

Re: Decal problem

Posted: Tue Oct 13, 2009 9:50 pm
by Zidane
Is a bad alpha bitmap

Re: Decal problem

Posted: Tue Oct 13, 2009 10:00 pm
by jamieo01
how do i make a better alpha map

Re: Decal problem

Posted: Tue Oct 13, 2009 10:03 pm
by jonas
If you haven't already I would recommend looking at the ebook. It kind of explains some of the alpha image stuff. I think around page 170(pdf page not the page number in the corner) it talks about decals.

Basiclly you need to take a copy of your current image and convert it to black and white. Take a look at some of the images that already have transparency working. As you'll see its in black and white. I can't remember which is which, But I think the area that is colored white on the image will show up. But the area colored black will be transparent. So you'll want to make sure the blood spot is white, then the rest of the image is black.
Zidane wrote:Is a bad alpha bitmap
Try a little more detail next time :P

Re: Decal problem

Posted: Tue Oct 13, 2009 11:00 pm
by jamieo01
Thanks for your help jonas it now works

Re: Decal problem

Posted: Wed Oct 14, 2009 9:00 pm
by paradoxnj
You could just convert the image you have to greyscale. That is usually how alpha is created.

Re: Decal problem

Posted: Wed Oct 14, 2009 10:54 pm
by jonas
That would especially work since its 2 solid colors. I didn't think of that. Been too long since i've done most of this stuff. :lol: