[Request] Glass Texture

Sarah

L1: Registered
Aug 6, 2008
42
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!
 

Washipato

L3: Member
Jun 22, 2009
149
331
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:

SiniStarR

L8: Fancy Shmancy Member
Mar 31, 2009
585
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.
 

Sarah

L1: Registered
Aug 6, 2008
42
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 :)