I made this Alpha in photoshop, VTFEdit doesn't auto-create a proper alpha channel with any of the settings I have found, is there a way I can do it in the VMT manually?
- Code: Select all
"LightmappedGeneric"
{
"$basetexture" "cbn/cbn_octile_cy"
"$surfaceprop" "Metal"
"$selfillum" 1
"$alpha" "cbn/cbn_octile_alpha"
"%keywords" "cbn"
}
Since using alpha like that didn't work I instead used "$alpha" "G", what this did is it took the Green Channel's Alpha and i ended up with this neat affect:
The texture shows up only with a dynamic light shined to it, revealing the texture, with it's alpha channel.
Still, not what I wanted.
So instead I tried without selfillum, same effect.
So then I went a little deeper and tried "$selfillummask" "cbn/cbn_octile_alpha", no affect, what i did then was I re-made cbn/cbn_octile_alpha, with transparency, literally removing the black, no effect.
Any advice? How would I set up Alpha Channels with VTFEdit automatically to detect the black when creating an alpha layer?