Decal problem
Decal problem
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
another problem is that when I shoot the decal it goes behind the decal
any help is appreciated.
another problem is that when I shoot the decal it goes behind the decal
any help is appreciated.
Re: Decal problem
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.
Jonas
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Re: Decal problem
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.
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.
Try a little more detail next timeZidane wrote:Is a bad alpha bitmap
Jonas
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Re: Decal problem
You could just convert the image you have to greyscale. That is usually how alpha is created.
Many Bothans died to bring you this signature....
Re: Decal problem
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.
Jonas
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack