Purple Puppet, home
All work
Close-up of a MetaHuman wearing a realistic denim jacket

Unreal Denim Costume

· 2023

MetaHuman denim costumes and material for Unreal Engine

Unreal Denim Costume is an internal Purple Puppet R&D project exploring modular denim costumes for MetaHumans. We built a structurally realistic denim material in Substance Designer and recreated it in Unreal Engine, with controls for dye, wash, wear and tear, dirt and wetness. The costumes fit the MetaHuman body and layer over a range of shirts. Below is a breakdown of the key features.

Realistic Denim Material

One of our goals was to create a realistic denim material that would look great from a distance while looking realistic close-up.

We achieved this by constructing a structurally realistic denim material in Substance Designer and then recreating snapshots of this material in Unreal.

MetaHuman wearing the denim jacket and jeans costume

Weft, Warp, and Dye

One of the most important properties of denim is the weft and warp. The warp is usually dyed blue.
In our material we recreated this property and made the dye a customisable element. This allows us to create a variety of realistic denim looks.

Animated weft, warp and dye controls on the denim material
Dark blue denim jacket render next to a real-life reference photoLight wash denim jacket render next to a real-life reference photoPink denim jacket render next to a real-life reference photoGreen denim jacket render next to a real-life reference photoGrey washed denim jacket render next to a real-life reference photoRaw indigo denim jacket render next to a real-life reference photo

Wash Properties

Another important element in denim is the wash.
Using generated maps unique to the garment piece we can set the amount and intensity of wash.

Animated wash controls fading the denim

Properties Menu Panel

For easy visualisation and customisation we have a custom user interface in Unreal, allowing the user to easily swap costumes, presets, and adjust the material properties.

Custom Unreal properties panel for swapping costumes and presets

MetaHuman | Purple Puppet

Comparing our denim material to the default jeans material in the Unreal MetaHuman Creator you can really see the difference.

Where the MH material overlays colour on a greyscale texture, our material simulates the dye in the warp being coloured and washed.

Wear & Tear

In addition to the denim material we also developed a way to create realistic wear and tear for denim.

Using a combination of masks, and the Unreal groom system we developed realistic damaged jeans.

Animated wear and tear with rips and frayed threads

Dirt & Wetness

Using masks we then add a dirt and wetness system to the material.\

\

We can paint any type of mask that can then be used as a custom dirt, paint, or simple wetness layer on top of the denim.

Animated dirt and wetness layers painted on denim

Modular Costume

And to top it all off, the costume is built to accommodate a layered variation system.\

\

A variety of denim jackets fitting seamlessly over a variety of shirts.

Dirt and wetness mask applied to the denim costume
Costume concept, Marvelous Designer garment and sewing patternsZBrush sculpt and Maya topology of the denim costumeSubstance Designer material graph exported to Unreal Engine

Like what you see?

Let's talk about your project.