Skip to content

Development pipelines for Materials

Radik edited this page Aug 13, 2024 · 5 revisions

There're two basic pipelines to work with materials in this project, but you can follow your own pipeline of course.

Materials Sync Pipeline

In this pipeline you should set material import mode to 3 in vmf.config.json and reenable the GodotVMF plugin in the project settings. This mode means that every material you created inside the materials folder will be converted into VMT/VTF and placed inside hammer_project materials to Hammer++ be able to see them in the texture browser. Sometimes Hammer++ doesn't show new materials and in this case you should restart Hammer++.

Once you changed properties of material you should save the project to trigger scan project files and update the materials structure

Default Pipeline

This pipeline means that you should create VMT/VTF textures and place them into hammer_project and during map import the importer will convert all used VMT/VTF into Godot material. Once the materials imported you can set them up further by adding displacement/ambient occlusion/detail/roughness/metallic map.

If you changed VTF texture of some VMT material you should remove the whole imported TRES material to make the importer import it again or replace the texture manually with a new one.

Clone this wiki locally