◀ Previous: 8. Mask Pieces and Mix Recipes · 🏠 WC Tools · Next: 10. Material Recipes ▶


The Materials tab turns packed Texture Sets into finished materials, without you ever opening the material editor. It does two jobs:

  1. Builds a master material for one kind of surface, with the features you want (dust, snow, wetness, wind, wear...).
  2. Makes an instance of that master for each Texture Set, and can put it on your meshes for you.

Because every set of a type has the same textures, one master works for all of them. Every prop in your game gets wet in the rain the same way.

Words you'll see on this page

Word What it means
Master material The big material that holds all the logic. You have one per kind of surface (one for props, one for foliage...).
Instance A light copy of a master that points at one Texture Set's textures. You have one per set. This is what goes on a mesh.
Material Recipe A small asset listing the choices a master is built from: which Texture Set Type it reads, how it's lit, and its feature pieces.
Feature piece One effect a master can have: Snow, Dust, Wind, Edge Wear and so on. There are 59.

Opening it

Click Tools > WC Tools, then click the Materials tab at the top of the window.

4STdsjfRws.png

Quick start: a material for your packed prop

You need a Texture Set packed with the Prop type (5. Textures Tab).

  1. Open the Materials tab.
  2. In Recipe, pick DA_MaterialRecipe_Prop_WC.
  3. Click Build Master Material. The line at the bottom says built: M_Prop_WC. You only do this once per recipe.
  4. The list shows every Texture Set packed with the Prop type. Tick yours.
  5. Click Make Instances. The line says 1 of 1 instance(s) made or updated.
  6. Your new material is in the set's folder, named MI_ + the set's name + _Prop. The list's Instance column shows it.

<aside> ✅

Put it on the mesh: if you packed the set by dropping the mesh on the Textures tab, select that mesh's actors in the level and click Use On Selected Actors. Every matching slot gets its material. Otherwise, drag the instance onto the mesh as you would any material.

</aside>

The window

Part What it does
Recipe Picks the Material Recipe you're working with.
Open Recipe Opens the recipe in its own window to change it. See 10. Material Recipes.
Build Master Material Makes the recipe's master material, or clears and rebuilds it if it's already there.
Open Master Opens the built master in the material editor, if you're curious. You never need to.
Texture Sets of the recipe's type Every set packed with the type this recipe reads.
Refresh Reads the list again. Click it after packing new sets.
Make Instances Makes an instance for each ticked set, in that set's folder. If the instance is already there, it's updated in place.
Use On Selected Actors Puts the right instance on each slot of the actors selected in the level.
World Preview (right side) Sliders to see your materials in every season and weather.

The list's columns

Column What it shows
Tick box Ticked sets get an instance when you click Make Instances.
Texture Set The set's name. Hover over it for where it is.
Instance The instance made for this set with this recipe, once there is one. Open opens it, Show finds it in the Content Browser.
Extra Layers Only used by recipes that blend several sets in one material. See below.

Extra Layers

Some recipes blend more than one Texture Set in one material: a wall with brick, plaster and stone painted on it, or ground with fallen leaves lying on top.

For those recipes, each row has extra drop-downs:

Pick them before you click Make Instances.

Use On Selected Actors

This button saves you dragging materials onto slots one at a time.

  1. Select one or more actors in the level.
  2. Click Use On Selected Actors.
  3. For each mesh slot of those actors, the tool looks for a Texture Set of the recipe's type that was packed from that mesh and that slot. If there is one, the slot gets its instance.
  4. The line at the bottom lists every slot it changed.

<aside> ℹ️

The material is put on the actor in the level, not on the mesh asset. Other levels and other actors using the same mesh aren't touched. To change the mesh asset itself, open it and set its materials there.

</aside>

World Preview: see every season and weather

Many feature pieces react to the world: snow lies on things, rain makes them wet, plants turn in autumn. The World Preview sliders let you try all of that from the tab.

Slider What it does
Season 0 spring, 1 summer, 2 autumn, 3 winter, 4 spring again.
Snow How much snow lies on upward faces.
Wetness How wet everything is. Puddles at 1.
Wind Strength How hard plants sway.
Wind Direction Degrees on the ground. 0 = along X.
Drought Plants dry out and die back, soil pales and cracks, dust gathers. 0 shows nothing.
Night Windows and glows that only light after dark come on. 0 is day.
Cold Puddles freeze over. 0 is not freezing.
Rain How hard it's raining now: ripples in puddles and drips down walls. (Wetness is how wet things already are.)
Put Back Puts every slider back to the saved values.

The preview shows in the level viewport, in Play and Simulate, and in every open material, material instance and mesh editor.

<aside> 🛡️

The preview is never saved. When you close the tab or the window, the saved values go back.

</aside>

<aside> 🔧

For the curious: the sliders change a Material Parameter Collection called MPC_SeasonWeather_WC. In your game, set the same values on that collection (from a Blueprint or code) to drive every master at once: one "Snow" value and the whole world goes white.

</aside>

Changing how one object looks

Open the instance (click Open on its row, or double-click it in the Content Browser). Its parameters are grouped by feature piece, so everything about snow is under Snow, everything about dust under Dust.

For example, to make one crate dustier than the rest, raise Dust Amount on that crate's instance. Every parameter of every piece is listed on 11. Feature Pieces.

After you change a recipe

A master is only rebuilt when you ask.

  1. Change the recipe (Open Recipe).
  2. Click Build Master Material again.
  3. Your instances keep working, and keep any values you set on them.

<aside> 💡

Rebuild every master at once: type WCTools.BuildMasters in the editor's console (the Cmd box at the bottom of the editor). It builds the master of every Material Recipe in the project and lists each result in the Output Log. Useful after updating the plugin.

</aside>

Where things are saved

Thing Where Name
The master of an example recipe The plugin's content, under Materials > Masters. M_ • the part of the recipe's name after MaterialRecipe_ (M_Prop_WC).
The master of your own recipe Beside the recipe. The same, or the recipe's Master Name if you typed one.
An instance In its Texture Set's folder. MI_ • set name + _ • the recipe's short name.

If it won't work

| --- | --- |


◀ Previous: 8. Mask Pieces and Mix Recipes · 🏠 WC Tools · Next: 10. Material Recipes ▶