Skip to content

Converts shader names to VertexLitGeneric inside Source Engine material VMT files.

License

Notifications You must be signed in to change notification settings

ZH-Hristov/VMTShader2VertexLitGeneric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

VMTShader2VertexLitGeneric

Converts 'LightMappedGeneric', 'UnLitGeneric' and 'WorldVertexTransition' Source Engine shaders to VertexLitGeneric in VMT files.

Meant for converting world brush materials to ones that will work on models using the Material Tool in Garry's Mod, but feel free to use it for anything else if you find a use for it.

Instructions: Simply run the script with Python inside the folder containing the unconverted materials. The script will edit the files directly, so be sure to use copies.

The script will log whether it made any change inside each VMT and will print the amount of changed files at the end.

About

Converts shader names to VertexLitGeneric inside Source Engine material VMT files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages