Black CraftDev

Docs/Materials

Variant Builder

Build a family of material variants from one master and a set of textures: one variant per texture.

EditionPro only · launching soonMenuTools›BlackCraft›Hexbench›Materials›Material Variant BuilderClassMaterialVariantBuilderWindow

Creates a material variant for each texture you give it. Each variant overrides one property and inherits the rest from the master, so when you adjust the master, all the variants change with it.

Open it with Tools›BlackCraft›Hexbench›Materials›Material Variant Builder.

Assign the Master material, or use Add Selection. Under Variant Overrides, choose the texture slot that each variant will carry, which is usually the base map. Then drop the Textures in; you get one variant per texture, named after it. Pick the Output folder and press Create Variants.

Afterwards, Send To in the footer passes the master and all its variants to another tool. The Bulk Material Editor is a good choice for editing the family together.

Per-Variant Properties lists the properties a variant is still allowed to override. It starts out with the override slot and alpha clipping. Lock Shared locks every other property on the master, which stops an edit on one variant from quietly splitting it off from the family.

With Skip Existing on, variants that already exist are left alone. Turn it off when you want to rebuild them.

variantsmasteroverridetilesetfamily