
Hair is what makes people look like people, and it is what games most often get wrong. This is the story of how we got from clay wigs to hair you can comb, and from there to something that runs on a Quest.
This is the last of three behind-the-scenes devlogs. Part one was about running the game inside Blender, part two about clothes sewn from patterns.
Round 1: shapes, not hair
Locks as solid shapes
A bob as one massThe first try was the cheap one: hair as a few smooth shapes, the way many games do it. Guide hairs follow a comb field over the head (outward from the crown whorl, sideways away from the parting, down over the dome), are grouped into locks, and each lock gets a solid shape. It read as a helmet of clay. For beards, hundreds of small locks were no better: they looked like chips.
Round 2: real strands in Blender

Then real hair. Blender fills in thousands of fine strands around the guides with its hair particles and procedural hair nodes, and renders them with its hair shader in Cycles. On top of that I wrote the parts Blender does not have:
- Hair types. Straight, wavy, curly and coily, from 1A to 4C, set how much a strand waves or curls, shrinks and fills out.
- Braids as real weaving. A braid is three strands, each a figure-eight, a third of a turn apart, so they really pass over and under each other.
- Draw it yourself. Draw a hairline on a bald head and strands on top of it. Roots fill in inside the line.
- Hair does not pass through hair. When guides cross, they stack in thin layers of 1.2 mm instead of sliding through each other. A cheaper trick made the hair lie flat.
- Growing and falling. Hair grows from its roots and then falls under gravity in a small solver of its own, around the body.

It was a big step, but I was not happy with it. Every change meant waiting for a render, and you shaped hair by changing numbers in code, not with your hands. A hairdresser does not type. I wanted to comb.
Round 3: our own hairstyle planner

So, like the clothes, hair got an app of its own: a planner written in Rust that grows every hair on the graphics card. You first choose your hair type, then a style (40 of them, from a bob and a pixie to Dutch braids, box braids, locs, Bantu knots, a wolf cut and a quiff with a fade), and then you take over by hand.
- 154,689hairs on one head, 5.5 million points
- 2 to 4 msper frame with a lock of hair in your hand
- 1.3 sfor a finished picture, from growing every hair to the file


- Tools in your hand. A comb, a puff, smoothing, scissors, a clipper with a guard, gravity, colour, elastics and pins. The tool is drawn on the head as it stands: the comb with its teeth in the hair down to the skin, the clipper with its plate at the height of its guard.
- Hair as a rope. Grab a strand and it follows your hand as far as it reaches. Between your hand and the root it keeps its length, past your hand it hangs down. Let go and a pin stays.
- Elastics are real rings. Paint over the strands you want and let go: they gather into a tail, and the ring fits the hair that really goes through it.
- It feels like Blender. The camera and the keys work like Blender's: middle mouse to turn, F for brush size, Shift+F for strength.



- Colour like real hair. Hair colour comes from two pigments, the way it does in real hair, with the same pigment numbers Blender's hair shader uses. Streaks are strokes of the colour brush on single hairs.
- Accessories. A claw clip, a scrunchie, a barrette and a headband, in finishes from tortoiseshell to pink.

Round 4: into the game
A game cannot draw 150,000 hairs on a headset. So every kind of strand (straight, wave, curl, ringlet, braid, loc) is rendered once as real fine hair in Blender's Cycles: 4,500 hairs for a straight strand, and for a dreadlock 3,600 hairs plus 900 loops of loose fuzz. Those pictures go on thin bending strips laid along the guides. Up close it still reads as hair, because it is pictures of hair.

- 4,001triangles for a full hairstyle on Quest
- 39,141triangles for the same style on Mac and PC
- 1 atlasper style: 2048 px, or 1024 px on Quest

What fought back along the way
- A clay wig. The first strand renders looked like clay. The thick tubes became a dark core with fine strands over them.
- Cards flipping over. 219 of 502 cards turned their back to the camera low on the head, until each card carried its "sideways" along the strand.
- Hooked tips. Strand tips that hooked back folded their cards over themselves. Cards now end at the hook.
- Scalp through the Quest cap. Thinned down to 12%, the cap under the Quest hair dipped into the head. It is lifted along the skin now and keeps 20%.
- The denoiser ate hairs. Cycles' denoiser smeared single hairs away. It is off for hair.
- Ready to move. Each style comes with a chain of small bones for Godot's spring bones, so hair can swing when a head turns.
Hair is not in the game yet. It comes with the people of the valley, Mac and PC first, then the Quest.
Feedback welcome
- Which hairstyle should Henk the mechanic have? He is 66.
- Would you want to cut your own pilot's hair?
Behind the scenes, in three parts: 1. The game runs inside Blender · 2. Clothes cut from real patterns · 3. Hair, from a comb to a game
Come say hi on Discord. The game also streams live on Twitch, every night at 20:00 CET.