Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [COD2] How to make material for transparent image?

  1. #1
    ... connecting
    Join Date
    Jan 2015
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    [COD2] How to make material for transparent image?

    Hi,

    I replaced the main menu background.

    Attachment 901

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

    Attachment 902

    But it looks like:

    Attachment 903

    I used in Asset manager this to both images:

    Attachment 904

    So what are the correct settings to this type of image?
    Thanks for help, and sorry for my bad English.
    Last edited by Tally; 2nd August 2015 at 17:34.

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by impreZZa View Post
    Hi,

    ------- snip ------------
    1. Your image must have an alpha channel.

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

    Click image for larger version. 

Name:	Untitled-1.png 
Views:	72 
Size:	71.9 KB 
ID:	906
    Last edited by Tally; 1st August 2015 at 23:45.

  3. The Following 2 Users Say Thank You to Tally For This Useful Post:

    impreZZa (2nd August 2015),kung foo man (2nd August 2015)

  4. #3
    ... connecting
    Join Date
    Jan 2015
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks, it's perfect.

  5. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Quite sad that you delete the "problem" images after you got your help.
    timescale 0.01

  6. #5
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts
    He did not get these images to work in the first place ;x

  7. #6
    ... connecting
    Join Date
    Jan 2015
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I don't deleted.

  8. #7
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Oh, sorry

    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?
    timescale 0.01

  9. #8
    ... connecting
    Join Date
    Jan 2015
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    There wasn't. When I checked the thread, all the attachments were ok. The format was PNG.

  10. #9
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by impreZZa View Post
    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.

  11. #10
    ... connecting
    Join Date
    Jan 2015
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Umm.. can I edit the thread?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •