◀ Previous: 10. Material Recipes · 🏠 WC Tools · Next: 12. Mesh Setup ▶


A feature piece is one effect a master material can have. This page is the catalogue: all 59, what each one shows, and the settings it adds to your material instances.

How to use a piece

  1. Open a Material Recipe and click + next to Features.
  2. In Function, pick the piece. They're named MF_Feature_ + the piece's name + _WC, so type the name from this page (for example Snow) to find it.
  3. On the Materials tab, click Build Master Material.
  4. Open any instance of that master. The piece's settings are there, grouped under its name.

<aside> 💡

Most pieces start at "nothing". Adding Rust to a recipe doesn't make anything rusty. It adds a Rust Amount to every instance, starting at 0. Raise it on the instances you want rusty.

</aside>

<aside> ℹ️

Pieces read maps. Edge Wear reads the Edges map, Dust reads Cavity and Ambient Occlusion, Snow reads Height. If the Texture Set Type doesn't have a map, the piece still works, using a plain value in its place, but it looks flatter.

</aside>

Three ways a piece is driven

Driven by What it means Examples
The instance You set an amount on the material instance and it stays. Dust, Moss, Rust, Paint Coat
The world It follows the season and weather values every master shares. Try them with World Preview on the Materials tab. Snow, Wetness, Rain, Wind, Season Color
Gameplay Your game changes the amount while playing: a sword gets bloody, a monster burns. Blood, Burn, Hit Flash, Dissolve, Damage

Pieces driven by the world usually have two amounts: their own (Snow Amount), and how much they follow the world (World Snow Influence). So one prop can be snowy in summer, and another can ignore the snow entirely.

Weather and the world

Piece What you see Its settings
Snow Snow on upward faces, filling low spots first, with a fine sparkle. Snow Amount, World Snow Influence, Snow Color, Snow Roughness, Coverage Threshold, Edge Softness, Height Influence, Sparkle
Wetness Wet surfaces are darker and shinier. Cloth soaks. Puddles form in low spots and freeze when the world is cold. Wetness Amount, World Wetness Influence, Porosity, Puddle Amount, Wet Roughness, Mud Amount, Water Height, Shore Width
Rain While it rains: rings spreading on upward faces and in puddles, and drips running down walls. No textures needed. Ripple Size, Ripple Strength, Drip Amount, Drip Speed
Dust Dust on upward faces, grime in creases, and mud up from the object's bottom. More in a drought. Dust Amount, Dust Color, Dust Roughness, Drought Dust, Grime Amount, Grime Color, Base Grime Height, Noise Scale
Moss Moss on upward and shaded faces, broken up by noise. Moss Amount, Moss Color, Spread, Side Amount, Side Direction, Noise Scale
Ground Blend The base of a rock, wall or trunk takes the ground's color, so there's no hard line where it meets the landscape. Needs Read Ground on the recipe. Ground Blend Amount, Ground Blend Height, Ground Blend Offset, Ground Color Amount, Ground Normal Amount, Ground Roughness Amount, Ground Specular Amount

Plants

Piece What you see Its settings
Wind Sway and flutter from the world's wind. Static meshes only. Sway Strength, Sway Speed, Stiffness Height, Flutter Strength, Wind Influence, Gust Strength, Gust Size, Droop Amount, Drought Droop
Season Color The plant recolors through the year, each plant in its own time, outer leaves first. Drought dries it out. Season Amount, Spring Tint, Summer Tint, Early Autumn Tint, Autumn Tint, Late Autumn Tint, Winter Tint, Autumn Dryness, Outside First, Plant Health, Dead Patches Amount, Dead Tint, Patch Size, Per-Instance Variation
Leaf Drop Leaves fall one by one in autumn and come back in spring. Needs a mesh marked with Mark Leaves on the Textures tab. Autumn Start, Drop Spread, Spring Return, Spring Spread, Drought Leaf Loss
Season Parts Flowers or fruit that are only there in their season. Reads Custom Mask 1 for which parts. Part Season Peak, Part Season Width, Part Color
Player Push Plants lean away from the player. Your game tells the materials where the player is. Static meshes only. Push Strength, Push Height
Canopy Normal Rounder light on a tree's crown, so it shades as one soft mass instead of many flat cards. Roundness
Distance Fade Small plants fade out with distance instead of popping. Needs a Masked recipe. Fade Start, Fade Length

Ground

Piece What you see Its settings
Ground Season Grass and ground plants follow the seasons and drought: fresh in spring, straw in winter, dead patches, spring flowers. Stones and bare soil keep their color. Season Amount, Spring Tint, Summer Tint, Autumn Tint, Winter Tint, Plants Only, Plant Health, Dead Patches Amount, Dead Tint, Patch Size, Bloom Amount, Bloom Size, Bloom Color A, Bloom Color B
Dry Ground Drought on soil: paler and dustier, with cracks opening in the low flat parts. Dry Brightness, Dry Roughness, Crack Amount, Crack Depth, Crack Size
Trails Tracks pressed into the ground. Your game draws where (a render target) and says what ground it covers. Trail Mask, Trail Area, Trail Depth

Wear and age

Piece What you see Its settings
Edge Wear Worn edges: bare, and shiny on metal. None on cloth. Reads the Edges map. Wear Amount, Wear Color, Wear Shine, Noise Scale
Rust Rust on metal, in crevices and on worn edges first. Also a patina (green on copper and bronze). Rust Amount, Rust Color, Patina Amount, Patina Color
Paint Coat A coat of paint over the surface, chipping away at the edges first. Paint Amount, Paint Color, Peel Amount
Leaks Dark runs down walls below ledges, sills and creases. Leak Amount, Leak Length, Leak Color
Damage Cracks that spread and deepen, with an optional glow in them. Damage Amount, Crack Color, Crack Glow
Object Variation Each copy of an object is a slightly different shade, so twenty crates don't look like one crate twenty times. Brightness Variation, Hue Variation, Dirt Variation
Height Gradient Darker and tinted toward the bottom of the object. Bottom Darkening, Bottom Tint, Gradient Height
Detail A close-up detail texture that fades with distance, and large-scale color variation so big surfaces don't look flat. Detail Strength, Detail Tiling, Detail Fade Distance, Macro Variation Amount, Macro Scale

Buildings

Piece What you see Its settings
Lit Windows Windows that light at night. Some glow, some stay dark. Reads Custom Mask 1 for where the windows are. Window Glow Color, Lit Share, Window Size
Interior Rooms behind flat windows, with depth as you walk past. Reads Custom Mask 1 for where the glass is, and a cube texture for the room. Room, Rooms Across, Rooms Up, Room Brightness

Gear and metal

Piece What you see Its settings
Region Tint Recolors each Color Region (dye area), keeping the detail. White = unchanged. Region 1 to 4 Tint, Region 1 to 4 Strength
Brushed Metal Stretched highlights along a direction on the metal parts: brushed steel, a blade's grind. Brushed Amount, Brushed Direction
Shimmer Color that shifts with the viewing angle: beetle shell, oil, scales, enchanted metal. Shimmer Amount, Shimmer Color A, Shimmer Color B
Gem Stones set into gear: a polished color with a glow inside that shifts as you move. Reads Custom Mask 1 for where the stones are. Gem Color, Gem Glow, Gem Depth
Emblem A picture stamped at a place on the mesh: a crest on a shield, a label, a tattoo, a scar. Emblem X, Emblem Y, Emblem Size, Emblem Rotation, Emblem Amount, Emblem Tint
Heat Glowing hot metal, from dark red through orange to white, spreading from the top down. Heat Amount, Heat Length
Enchant Energy running through the glow map, or round the whole outline. It can flicker like fire or crawl like lightning. Enchant Amount, Enchant Color, Flicker, Crawl, Whole Surface, Flow Speed

Characters and creatures

Piece What you see Its settings
Hair Color Hair cards' color: natural color, darker roots, lighter or dyed tips, strand-by-strand variation, highlights and gray. Melanin, Redness, Dye Color, Texture Color Amount, Root Darkening, Tip Lightening, Tip Color, Tip Color Amount, Highlight Amount, Highlight Color, Grey Amount, Depth Darkening, Strand Variation, Soft Edges
Eye An eye: iris and pupil (size, shape, color), the dark ring round the iris, the white's tint and redness, and a glow. Iris Size, Iris Color, Pupil Size, Pupil Shape, Limbus Darkness, Limbus Width, Sclera Tint, Sclera Redness, Iris Glow, Iris Glow Color, Iris Center X, Iris Center Y
Makeup Makeup by a mask texture: blush, lips, eye shadow and liner, each with a color, an amount and how shiny it is. Makeup Mask, and a Color, Amount and Roughness for each of the four
Flush Skin that reddens (heat, anger, effort) or pales (cold, fear, sickness). Flush Amount, Flush Color
Wrinkles Wrinkles blended in by area, as a joint bends or a face moves. Age deepens all of them. Wrinkle Normal, Wrinkle Mask, Wrinkle 1 to 4, Age
Wounds Wet red cuts where your game says hits landed (a render target). Wound Mask, Wound Color, Wound Depth
Tears Cloth that frays and opens into holes. Needs a Masked recipe. Reads Custom Mask 2 for where damage starts. Tear Amount, Fray Color
Slime A wet film over the surface: glossy, slightly tinted and darker. Slime Amount, Slime Tint
Fuzz A soft bright edge that reads as short fur or velvet. Rim Fuzz Amount, Rim Fuzz Color

Gameplay effects

Each of these has one Amount your game raises and lowers while playing, from 0 (nothing) to 1 (full).

Piece What you see Its settings
Blood Blood in creases first, soaking into cloth. Blood Amount, Blood Color, Blood Roughness, Blood Dryness
Burn A charred surface with embers glowing in the cracks. Burn Amount, Burn Color, Burn Roughness, Ember Color
Frost Frost creeping over the surface. Frost Amount, Frost Color, Frost Roughness
Poison A sick green spreading from the creases, breathing with a faint glow. Poison Amount, Poison Color, Poison Roughness
Petrify Turns to gray stone from the creases out. Petrify Amount, Petrify Color, Petrify Roughness
Corruption A dark stain with thin glowing veins through it. Corruption Amount, Corruption Color, Corruption Roughness
Shock Thin bright arcs crawling over the whole surface. Shock Amount, Shock Color, Shock Roughness
Hit Flash The whole thing flashes a color when struck. Your game sets Flash Amount to 1 and lets it fall back to 0. Flash Amount, Flash Color, Flash Rim
Dissolve Eats the surface away with a glowing edge. 0 = whole, 1 = gone. Needs a Masked recipe. Dissolve Amount, Edge Color, Edge Width, Noise Scale

<aside> 🔧

</aside>

Glow

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

Glass and liquid

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

Fades

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

Pieces that need something special

| --- | --- |

If Build Master Material says built ..., with these messages, check this table first.

Making your own piece

A feature piece is an ordinary Material Function with an Attributes input and an Attributes output (and, for cut-outs, an Opacity Mask input and output). Any function of your own that follows that shape can be picked in a recipe's Features list, and its parameters show on the instances like any other piece's.


◀ Previous: 10. Material Recipes · 🏠 WC Tools · Next: 12. Mesh Setup ▶