Custom poster alpha issue

Discussion in 'Mapping Questions & Discussion' started by Khuntza, Jul 26, 2010.

  1. Khuntza

    Khuntza L2: Junior Member

    Messages:
    78
    Positive Ratings:
    38
    Ive created a custom poster overlay using photoshop.. the source file is a tga with an alpha channel used to make the texture 512x512.

    I've got it in hammer and showing in game however there is a light gray boarder that shows around the outer edge..

    [​IMG]

    You can see the line parallel to the bottom of the poster. It also seems to do it around the bottom edge of the actual poster itself..

    I've googled the problem and found another user with the same issue but didn't seem to get to the bottom of it. - Angry Ed - http://forums.tf2maps.net/showthread.php?t=3073&page=9

    After playing around with the different options in VTFedit and with the vmt ive had no success.. Im pretty sure it will be a photoshop setting behind it all, though Angry Ed posts saying he tried using gimp and still had the same result..

    Help!
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    For the edges you need to turn on Clamp T and S in the VTF, this prevents the compression from tiling around the edges (that line at the bottom is from the top of the image). For the edge of the poster itself, I think you need to just add color around the ouside of the image and left the alpha channel handle the edge, as I assume what is happening is the "background" is bleending out from under the alpha mask due to compression and such.
     
    • Thanks Thanks x 1
  3. Khuntza

    Khuntza L2: Junior Member

    Messages:
    78
    Positive Ratings:
    38
    Clamp T and S did the trick.. a million thanks..