[Request] Glass Texture

Discussion in 'Request Area' started by Sarah, Oct 22, 2009.

  1. Sarah

    Sarah L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    I'm looking for a glass texture that you can't see though, if that make sense?

    There are some window models that give the illusion of glass yet you can't see through any of them. I'm not sure how to recreate that in a more believable context for windows like the one in this example.

    Any help or a solution to my problem would be greatly appreciated! I have a lot of windows on this map which I want to keep without ruining gameplay and causing high fps, due to the visibility!


    Thanks!
     
  2. Washipato

    Washipato L3: Member

    Messages:
    149
    Positive Ratings:
    99
    Try taking one of the glass textures in the game and create a new .vmt removing the translucent and alpha from it. For example, create a text file and change the name and extension to "mycustomglass.vmt" and paste this code
    Code:
    "LightmappedGeneric"
    {
    	"$baseTexture" "glass/glasswindow002c"
    	"$surfaceprop" "glass"
            "$envmap env_cubemap"
    	"%keywords" "tf"
    }
    Save it in team fortress 2/tf/materials. Use it in the game and see if it's the effect that you are looking for. If you don't like the glasswindow002c texture, change this line of the vmt:
    Code:
    replace "$baseTexture" "glass/glasswindow002c"
     
    Last edited: Oct 22, 2009
  3. SiniStarR

    SiniStarR L8: Fancy Shmancy Member

    Messages:
    585
    Positive Ratings:
    116
    i agree with Washipato, its a great skill to learn and he explained it really easily. If you still need help i'll do it for you.
     
  4. Sarah

    Sarah L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Thanks! I will give this a try later and let you know how I get on. There's always a lack of texture tutorials :)