STEAM GROUP
Blender Tutorial Community BlenderTuts
STEAM GROUP
Blender Tutorial Community BlenderTuts
28
IN-GAME
243
ONLINE
Founded
October 16, 2012
Language
English
Location
United States 
Showing 71-80 of 513 entries
6
Skin families/ weapon firing problems
2
Making items paintable
6
Skin families/ weapon firing problems
3
Alpha channel questions
Are you using photoshop or GIMP?

As the name implies, alpha channels are almost always used to control the transparency of a texture (hence "Alpha"). However, the source engine can use the alpha channel as a grayscale map for various things other than transparency (such as a phongmask, a selfillum mask, etc.). I'm assuming the transparency you are seeing is in Blender, right? If so, you can just ignore it-- this won't affect your model when you compile it in-game (btw, making weapons isn't exactly the best thing to do. Valve hardly ever adds weapons. We just got new ones, but that was the first time in a year they added weapons).

I can't recall how to disable blender from using the alpha channel as a transparency value because I never use that feature (I know that it does, but I've never seen this happen without actually activating transparency).

Weapon textures can have alpha channels. You can specify what the alpha channel will do in the .vmt file (for weapons you'll have to create the vmt manually since the in-game importer doesn't allow for weapons).

You said you wanted to use the alpha channel as a phong mask, so in your .vmt file, you should have the following lines:
"$phong" "1" "$basemapalphaphongmask" "1"

You can further control this with other lines in the vmt file such as the following:
"$phongexponent" "30" "$phongboost" "10" "$phongfresnelranges" "[0.95 0.5 1]"

Anything black in the alpha channel will make that part of the model look dull, and anything white will appear shiny (with intermediate shininess being gray).
2
Problem with installing MDL Compiler
4
Need help using GUIStudioMDL?
4
Blender, Background Images feature
Showing 71-80 of 513 entries