◀ Previous: 9. Materials Tab · 🏠 WC Tools · Next: 11. Feature Pieces ▶


A Material Recipe is the list of choices a master material is built from. You fill in the recipe; Build Master Material on the Materials tab does the building.

A recipe answers four questions:

  1. Which textures does the master read? (Its Texture Set Type.)
  2. How is it drawn and lit? (Solid or cut-out, skin or cloth or leaves.)
  3. How are the textures laid on? (The mesh's UVs, or real-world size.)
  4. Which feature pieces does it have? (Snow, dust, wind...)

<aside> 💡

Start from an example. The 25 example recipes cover most surfaces. Use one as it is, or duplicate it and change the copy. Come back to the settings tables when you want something they don't do.

</aside>

The example recipes

They're in the plugin's content, under Materials > Recipes. Each is named DA_MaterialRecipe_ + the name below + _WC, and reads the example Texture Set Type shown.

One per kind of surface

Recipe Reads type What it's for Feature pieces it starts with
Prop Prop Solid static props. Dust, Snow, Wetness, Rain, Edge Wear, Rust, Object Variation, Height Gradient, Emblem, Damage
PropMasked PropMasked Props with holes. Dust, Snow, Wetness, Rain, Object Variation, Height Gradient, Camera Fade
Building Building Building pieces. Textures are laid from the world so nothing stretches, with three sets you paint on with vertex color, and a blend into the ground at the base. Dust, Moss, Snow, Wetness, Rain, Detail, Glow, Leaks, Paint Coat, Lit Windows, Interior, Ground Blend
Ground Ground Ground at real size with no visible repeat. Ground Season, Dry Ground, Wetness, Snow, Moss, Detail, Rain, Trails
Foliage Foliage Trees, bushes and grass: cut-out leaves with light through them. Wind, Season Color, Leaf Drop, Snow, Wetness, Player Push, Canopy Normal, Distance Fade
WeaponAndGear WeaponAndGear Weapons and gear, skeletal or static. Region Tint, Edge Wear, Rust, Brushed Metal, Shimmer, Gem, Emblem, Detail, Wetness, Blood, Burn, Frost, Heat, Enchant, Hit Flash, Dissolve, Glow, Emissive Pulse, Body Fade
Outfit Outfit Clothes and armor on characters. Region Tint, Dust, Wetness, Snow, Edge Wear, Tears, Wrinkles, Emblem, Detail, Blood, Burn, Frost, Hit Flash, Emissive Pulse, Body Fade
Skin Skin Skin. Region Tint, Makeup, Flush, Wrinkles, Wounds, Emblem, Detail, Dust, Wetness, Blood, Burn, Frost, Poison, Petrify, Corruption, Shock, Hit Flash, Body Fade
OutfitAndSkin OutfitAndSkin Skin and outfit in one material. The Skin map decides, pixel by pixel, which is which. Everything Outfit has, plus Makeup, Flush, Wounds, Poison, Petrify, Corruption, Shock
Hair Hair Hair cards, cut out. Hair Color, Region Tint, Wetness, Snow, Body Fade
HairTranslucent Hair Hair cards, see-through, for soft edges. Hair Color, Region Tint, Wetness, Body Fade
Eyes Eyes An eye: the Eye piece draws the iris and pupil. Eye, Region Tint, Emissive Pulse, Body Fade
Creature Creature Creatures and monsters, with light through thin parts. Region Tint, Slime, Fuzz, Shimmer, Wounds, Dust, Snow, Wetness, Blood, Burn, Frost, Poison, Petrify, Corruption, Shock, Hit Flash, Dissolve, Glow, Emissive Pulse, Body Fade

Things that aren't a solid surface

Recipe Reads type What it's for Feature pieces
Glass PropMasked Windows, bottles, lanterns. See-through, more solid at glancing angles. Glass Surface, Rain, Dust
Decal PropMasked A decal laid onto whatever is under it by a Decal actor: dirt, cracks, puddles, posters. Its shape is the set's Opacity. Wetness
Crystal Prop Crystals, gems and ice: a glow inside, color that shifts as you move. Inner Glow, Shimmer, Gem, Frost
Liquid Prop A small liquid surface: potions, barrels, pools. It moves, and is soft where it meets a surface. Flow, Glass Surface
Glow Prop A shape made of light: runes in the air, force fields, holograms, ghosts. Inner Glow, Glow, Rim Glow

Examples that show one setting off

Each of these is a normal recipe with one of the recipe's own settings turned on, so you can see what it does.

Recipe Reads type The setting it shows
GroundParallax Ground Parallax = Stepped: stones stand in front of the gaps as the camera moves, on flat geometry.
GroundDisplaced Ground Displacement: the ground is really raised by its Height map, on Nanite meshes.
GroundSlopeLayers Ground Layers = 3 with Layer Blend = Slope And Height: a second set on steep faces and a third above a height, with no painting. Also Far Tiling.
GroundTopCover Ground Top Cover: a second set lying on top, low spots first (fallen leaves, sand, ash).
BuildingMaskLayers Building Layer Blend = Mask Texture: three sets picked by a mask texture's red, green and blue, with no painting.
PropSwitchable Prop Instance Can Switch Off on every piece: each instance only pays for the pieces it keeps on.
WeaponPerActor WeaponAndGear Per Actor Index: Flash Amount, Blood Amount, Enchant Amount and Dissolve Amount are set per weapon by your game, with no extra material needed.

Making your own recipe

The easy way:

  1. In the Content Browser, find the example closest to what you want. Right-click > Duplicate, and move the copy into your own project folder.
  2. Open the copy. Change its Texture Set Type if you made your own type, and add or remove Features.
  3. On the Materials tab, pick your recipe and click Build Master Material.

From nothing: Content Browser > Add > WC Tools > Material Recipe. It starts empty: pick its Texture Set Type first.

<aside> 🛡️

Changing an example is safe too. The plugin never overwrites an example recipe you've changed. But a copy in your own folder is easier to find and survives reinstalling the plugin.

</aside>

Recipe

Setting What it does Default
Texture Set Type The layout the master reads. It gets one texture parameter per packed texture, named by its suffix. None
Usage The kinds of mesh the master goes on. Tick the ones you need: Skeletal Mesh, Instanced Static Meshes (foliage, PCG, instanced props), Morph Targets, Clothing, Spline Meshes, Nanite. All off
Master Name The master's name. Empty = M_ • the part of the recipe's name after MaterialRecipe_. Empty

Look

Setting What it does Default
Domain Surface = a mesh's surface. Decal = a decal laid onto whatever is under it (needs Translucent). Surface
Blend Opaque = solid. Masked = cut-outs by the Opacity map. Translucent = see-through. Additive = adds its light to what's behind it (glows, force fields). Opaque
Shading How light falls on it. See the next table. Default Lit
Subsurface Profile (Subsurface Profile, Skin And Outfit) The skin profile. Empty = the engine's default. Empty
Two Sided Draw both sides of every face (leaves, cloth, hair). Off
Projection How textures are laid on. Mesh UV = the mesh's own UVs. Real Size = by world position, so one copy covers the set's Tile Size. World Aligned = three projections from the world, so nothing stretches on any side. Mesh UV
UV Channel (Mesh UV) The mesh's UV channel the textures use. 0 = the first. 0
Anti Tiling Hides the repeat of a tiling texture. Costs three times the texture reads. Off
Far Tiling A second, larger tiling blended in with distance, so repeats vanish far away. Twice the texture reads. Off
Parallax Fake depth from the Height map on flat geometry. Simple = a gentle shift. Stepped = deeper, and steady at low angles. Needs Height in the layout. None
Displacement Real raised geometry from the Height map, on Nanite meshes. Needs Height in the layout and Usage > Nanite. Off
Displacement Magnitude (Displacement) How far the highest point rises above the lowest, in cm. 4
Displacement Center (Displacement) The Height value that stays put. 0.5 raises the high half and sinks the low half; 0 only raises. 0.5
Displacement Fade (Displacement) Fades the displacement out with distance. Start Fade Size and End Fade Size are how big it is on screen, in pixels, when the fade starts and ends. Off
Dithered LOD Transition Levels of detail fade into each other with a dither instead of popping. Off

Shading

Shading Use it for
Default Lit Most things.
Subsurface Light through thin parts, colored by the Thickness map: creatures, wax.
Subsurface Profile Skin.
Two Sided Foliage Leaves, with light through them from behind.
Cloth Soft fabric sheen.
Hair Hair cards.
Clear Coat A clear wet layer on top: lacquer, car paint.
Skin And Outfit One material for both. The Skin map picks skin light or normal light per pixel. Needs a Skin map.
Eye The engine's eye. The Eye piece gives it the iris.
Unlit No lighting: the color is shown as it is (glows, holograms).

Features: the feature pieces

Under Features. Click +, then pick a piece in Function. The pieces are in the plugin's content, under Materials > Functions > Features, and are named MF_Feature_ + the piece's name + _WC. 11. Feature Pieces lists all of them.

Pieces are chained in list order, so later ones sit on top of earlier ones. Snow after Dust means snow covers the dust.

| --- | --- | --- |

Parameters: new defaults, and values set per actor

| --- | --- | --- |

<aside> 🔧

</aside>

Other settings under Features

| --- | --- | --- |

Layers: several sets in one material

| --- | --- | --- |

| --- | --- |

You pick which sets the extra layers are in the Extra Layers column on the Materials tab.

Plants that move: World Position Offset

For recipes with pieces that move the mesh (Wind, Player Push, Leaf Drop).

| --- | --- | --- |

Ground: blending into the landscape

For the Ground Blend piece, which makes the base of a rock or wall take the ground's color so there's no hard line where they meet.

| --- | --- | --- |

Each has Address (Clamp or Wrap) and Mip (how its level of detail is picked). Leave them as they are unless you know you need otherwise.

Nanite

◀ Previous: 9. Materials Tab · 🏠 WC Tools · Next: 11. Feature Pieces ▶