glTF material editor.

Currently supports only changing emissive color of materials in order to add glow.


msfs mat [-help] [-nobackup] [-emi name R G B] gltf
Skip automatic backup of the glTF file before overwriting it. Backup copies are stored in Windows’ temporary folder.
-emi <name> <R> <G> <B>
Name of material and desired RGB values of its emissive channel. RGB = (1.0, 1.0, 1.0) means full white. Values over 1.0 result in glow in MSFS. -emi may be repeated more than once to edit multiple materials in one go.
Path to glTF model file.


Add yellow glow to material named “symbols_yellow” in file “honeywell_LOD0.gltf”:

msfs mat -emi "symbols_yellow" 2.5 2.5 0.0 "honeywell_LOD0.gltf"