Texture Creation
description
We have two guides on creating Paint Alpha, this being the first.
keywords
paint, alpha, texture, textures.
Creating a custom texture blend between any two HL2 textures.
Its a lot easier than you'd think!
Right, load up hammer, and take a look at what textures you want to blend. For this example we shall use:
brick/brickfloor001a
concrete/concretefloor005a
Now, we make a VMT file, called whatever.vmt and in it we put:
"WorldVertexTransition"
- Code: Select all
{
"$basetexture" "brick/brickfloor001a"
"$basetexture2" "concrete/concretefloor005a"
"%tooltexture" "nature/blendsandgrass008a_tooltexture"
"$detail" "overlays/macro01a"
"$detailscale" .1
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
"$basetexturetransform2" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
"%detailtype" "smiff_test"
}
Now;
$basetexture is the first texture
$basetexture2 is the second texture
%tooltexture is what texture will show up in the hammer material viewer thing (you could make your own custom one)
%detailtype is used for random placement of sprites and the such, which I shall explain in a tutorial later on today!
The rest you just leave as default.
Now, place the texture in the correct places;
Firstly, in you materials dir for Hammer (mine is d:\steam\steamapps\my@address.com\sourcesdk\sdkcontent\hl2mp_sample_content\materials\) and in your HL2 mod dir (D:\Steam\SteamApps\my@address.comk\half-life 2 deathmatch\hl2mp\materials\).
Of course, these depend on what game you are mapping for, but you should get the idea.
Make a displacement brush with your new texture, and paint some alpha. With any luck you will get something like:
Have fun!
supersmithy













