PDA

View Full Version : [COD2] How to make material for transparent image?



impreZZa
1st August 2015, 23:59
Hi,

I replaced the main menu background.

901

Then I wanted to add another image (without background).

902

But it looks like:

903

I used in Asset manager this to both images:

904

So what are the correct settings to this type of image?
Thanks for help, and sorry for my bad English. :D

Tally
2nd August 2015, 00:38
Hi,

------- snip ------------

1. Your image must have an alpha channel.

2. In Asset Manager, under FrameBuffer Operation, set blendFunc to "blend":

906

impreZZa
2nd August 2015, 13:30
Thanks, it's perfect. :cool:

kung foo man
2nd August 2015, 17:33
Quite sad that you delete the "problem" images after you got your help.

YuriJurek
2nd August 2015, 17:41
He did not get these images to work in the first place ;x

impreZZa
2nd August 2015, 18:17
I don't deleted.

kung foo man
2nd August 2015, 19:21
Oh, sorry :D

Was there any problem with uploading them? I've reinstalled the forum some days ago and VBulletin had some problems with the PHP graphics module (but I got it to work). Which file format was it?

impreZZa
2nd August 2015, 19:57
There wasn't. When I checked the thread, all the attachments were ok. The format was PNG.

Tally
2nd August 2015, 20:21
There wasn't. When I checked the thread, all the attachments were ok. The format was PNG.

You didn't load the attachments into your post (there is a button that needs to be pressed to do this). That is why they don't show.

The format has nothing to do with it. My attachment is .PNG also, and mine shows up fine.

impreZZa
2nd August 2015, 21:35
Umm.. can I edit the thread?

kung foo man
2nd August 2015, 22:08
There is a time protection, so users can't delete/edit their posts anymore, because a few ppl basically rendered whole threads/questions useless. If you wanna add the images, just post them in a new post and I gonna include them in the question.