simon
Spy
- Joined
- Jun 8, 2003
- Messages
- 798
- Reaction score
- 0
hello,
i imported a model ingame, i made glass on my model. on the alpha channel the glass that is supposed to be half-transparent is grey. When i view this ingame/modelviewer, the glass is solid... so i changed the gray a bit darker, then the glass was gone.. so its either 100% (solid) or 0% (transparent)
i'm pretty sure the source engine can do this so that i can see 50% through a glass window, since there are some textures in HAMMER that act that way.
All i need to know is what do i need to do for this upon importing a model.
here is my .vmt file:
hope anyone can help me out here!
i imported a model ingame, i made glass on my model. on the alpha channel the glass that is supposed to be half-transparent is grey. When i view this ingame/modelviewer, the glass is solid... so i changed the gray a bit darker, then the glass was gone.. so its either 100% (solid) or 0% (transparent)
i'm pretty sure the source engine can do this so that i can see 50% through a glass window, since there are some textures in HAMMER that act that way.
All i need to know is what do i need to do for this upon importing a model.
here is my .vmt file:
Code:
"vertexlitgeneric"
{
"$baseTexture" "models\props/fuel_pumps"
"$model" "1"
"$surfaceprop" "metal"
"$nocull" 1
"$translucent" 1
"$alphatest" 1
}
hope anyone can help me out here!