Skip to content

Automatically converts texture files from Unity to Hammer VTF on import.

Notifications You must be signed in to change notification settings

IanJCV/UnityToVTF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

UnityToVTF

Automatically converts texture files from Unity to Hammer VTF on import.

Requires VTFCmd.exe, the source for which can be found here.

When a Texture2D file gets imported into a vtfexport folder it gets automatically sent to an hl2/materials/ folder found in your install of Source SDK 2013 Singleplayer. You can also change it to search for Half-Life 2 or any other Source game, just change the game name at

        // name has to match the steamapps/common folder name.
        if (!TryGetGame("Source SDK Base 2013 Singleplayer"))
        {
            Debug.LogError("Could not find Source SDK Base 2013.");
            return;
        }

About

Automatically converts texture files from Unity to Hammer VTF on import.

Resources

Stars

Watchers

Forks

Languages