Dash
04-21-2006, 09:29 AM
Alrighty.
I've made a few materials in photoshop, they all have alpha channels. Example: The graphic is white with blue variations (snow texture) and in the alpha channel is channels, I have a black background with white spots (So basically it should come out as random spots of snow).
Thing is, I have no idea how to configure my .vmt
Here's what I have so far:
"LightmappedGeneric"
{
"$baseTexture" "maps\dod_stammlager\stamm_snow1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$surfaceprop" "snow"
}
I'm not sure if "$vertexalpha" "1" is right.
In-game, the transparency works and all, but the texture is black (as is the texture itself was ignored and the alpha was applied to a pure black surface) I think I'm missing something here...
(PS: I'm not a Photoshop newbie, I've been photoshopping since 4.1 ;) )
edit: Also, the texture and transparency show up fine in Hammer..
I've made a few materials in photoshop, they all have alpha channels. Example: The graphic is white with blue variations (snow texture) and in the alpha channel is channels, I have a black background with white spots (So basically it should come out as random spots of snow).
Thing is, I have no idea how to configure my .vmt
Here's what I have so far:
"LightmappedGeneric"
{
"$baseTexture" "maps\dod_stammlager\stamm_snow1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$surfaceprop" "snow"
}
I'm not sure if "$vertexalpha" "1" is right.
In-game, the transparency works and all, but the texture is black (as is the texture itself was ignored and the alpha was applied to a pure black surface) I think I'm missing something here...
(PS: I'm not a Photoshop newbie, I've been photoshopping since 4.1 ;) )
edit: Also, the texture and transparency show up fine in Hammer..