Custom Portal 2 Textures
This page is a candidate for speedy deletion because:
There's absolutely no reason this page can't be merged with Creating a Material.
If you disagree with its speedy deletion, please explain why on its talk page. If this page obviously does not meet the criteria for speedy deletion, or you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
This article will cover a broad overview of how to create custom textures for Portal 2.
See this page http://developer.valvesoftware.com/wiki/Creating_a_Material for finer details.
VTFEdit is the tool used for creating VTF and VMT files.
In order to create Portal 2 Textures version 1.3.3 or later is required.
It can be downloaded here
Create a texture
Using Photoshop or a similar tool, create a 32-bit TGA image.
Valve uses TGA files because they are a lossless format, while other formats work they may not yield desired results.
Click on the Import Icon (looks like a new page icon).
Select the texture to import.
A window will pop up with a bunch of settings, make sure to go to the Advanced tab and set the version to 7.5
Once it is imported the texture will show up in the viewport on the right.
Save it (it will save as a VTF).
An ideal place to save it would be: /portal 2/portal2/materials/yourCustomFolder
Creating the VMT
Using VTFEdit just go to Tools -> Create VMT File.
The VMT file can then be opened and edited right there in VTFEdit if desired.
Here's a sample of what a texture with a bump map, and some detail looks like:
The keywords part is useful to be able to easily filter custom materials in the Texture Browser.
There are many things you can add to the VMT to alter the texture's behaviour:
-> "%noportal" 1 can be added to make the texture deny portals.