> For the complete documentation index, see [llms.txt](https://wiki.redmodding.org/cyberpunk-2077-modding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/npcs/guides-all-about-hair/hair-vertex-paint-for-transparency.md).

# Hair: Vertex paint for transparency

## Summary

**Published:** Jan 18 2025 by [mana vortex](mailto:undefined) based on research by [island\_dancer](mailto:undefined)\
**Last documented edit:** Jan 18 2025 by [mana vortex](mailto:undefined)

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!

* Check out [Hair modeling beginner tutorial](/cyberpunk-2077-modding/for-mod-creators-theory/3d-modelling/hair-modeling-beginner-tutorial.md) for how to create hair from scratch in Blender
* Browse [For V - All about Hair](/cyberpunk-2077-modding/modding-guides/npcs/guides-all-about-hair.md) in the left submenu to find all of our hair guides

## 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)

<details>

<summary>Theory</summary>

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.

</details>

## 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

<figure><img src="/files/1IAJIrM8rGm10M8zQPkV" alt=""><figcaption><p>Exhibit A: <a href="https://www.nexusmods.com/cyberpunk2077/mods/19096">Faith's Hair</a> by Island Dancer</p></figcaption></figure>

## Video


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/npcs/guides-all-about-hair/hair-vertex-paint-for-transparency.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
