Hair: Vertex paint for transparency

How vertex paint makes better hairs

Summary

Published: Jan 18 2025 by manavortex based on research by IslandDancer Last documented edit: Jan 18 2025 by manavortex

This page explains how to use Blender's Vertex Paint mode to make better and more natural-looking hair.

Wait, this is not what I want!

Do I want this?

The difference between hair with and without vertex paint is notable. The quality of vertex painted hair will be significantly higher.

However, not going to lie to you — it's a lot of work. Whether or not it's worth it is your decision.

What does it do?

In Cyberpunk, vertex paint colour is used to fake ambient occlusion (as in, the closer to the scalp you get, the darker and less reflective hair strands are).

The two ends of the spectrum are:

  • Red: Dark, not shiny (for base hair clumps)

  • Black: Bright, shiny (for flyhairs)

Theory

As of January 2025, we haven't decompiled or fully reversed Cyberpunk shaders, so we don't know what exactly these colours control.

However, it's likely that vertex paint color gets mapped onto shader attributes like anisotropyStrength.

How should it look?

  • The inner layers close to the scalp should be painted in bright primary red (255, 0, 0)

  • Strands get darker as they are further away from the scalp

  • Individual strands get darker towards the tip

Exhibit A: Faith's Hair by Island Dancer

Video

Last updated

Was this helpful?