glTF-Blender-IO-materials-variants is a Blender addon for glTF KHR_materials_variants
extension on top of glTF-Blender-IO
addon.
>= 3.6
Ensure the glTF-Blender-IO
addon is installed and enabled in your Blender because the glTF-Blender-IO-materials_variants
addon works on top of it. You can check it by Edit -> Preferences -> Add-ons -> "glTF 2.0" in the search bar. The glTF-Blender-IO
addon should be listed as Import-Export: glTF 2.0 format
. It should be installed and enabled by default.
Download the zip archived source code from the Releases.
Install the glTF-Blender-IO-materials-variants
addon to your Blender via Edit -> Preferences -> Add-ons -> Install -> Select the downloaded file
Ensure the addon is installed and enabled. You can easily find the addon by inputting "KHR_materials_variants" in the search bar.
The addon enables to import, export, and edit support the glTF KHR_materials_variants
extension in Blender.
The addon adds the "Materials Variants" panel to the Object property. You can add, remove, and edit the variants (alternate) materials for an mesh object in the panel. And the addon imports the KHR_materials_variants
extension to the panel.
The addon also imports the KHR_materials_variants
extension materials into the material slots of a mesh object.
The addon exports (not only an active material but also) the variants materials, and exports the variants materials configurations as KHR_materials_variants
extension to the exported glTF.
Currently the addon allows to set variant materials per a mesh object but it should allow it per a vertex_group of a mesh object similar to that the Blender allows to assign a material per a vertex_group of a mesh object #4