Fullbright texture with transparency?

Discussion in 'Mapping Questions & Discussion' started by Trini8ed, Mar 25, 2010.

  1. Trini8ed

    Trini8ed L1: Registered

    Messages:
    28
    Positive Ratings:
    7
    Anyway to do this?
     
  2. megawac

    megawac L4: Comfortable Member

    Messages:
    180
    Positive Ratings:
    29
    Simple. Make your vtf file with a alpha channel where you want it to be transparent and have your vmt file look something like this:

    Code:
    "UnlitGeneric"
    {
        "$translucent" 1
        "$baseTexture" "mytextures/hud/base/<vtf file name>"
        "$vertexcolor" 1
        "$no_fullbright" 1
        "$ignorez" 1
    }
     
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    ...the important part is the main shader should be UnlitGeneric. All those other properties (except for translucent obviously) would be bad to use most of the time, as they are for very specific material uses.
     
  4. Trini8ed

    Trini8ed L1: Registered

    Messages:
    28
    Positive Ratings:
    7
    Lol i feel stupid i was using lightmappedgenerics haha thanks