# Vertex Colors

Vertex Colors are important for clothing for correcting lighting, sweat, and wind effects. Every piece of clothing usually has 2 vertex color attributes.

These vertex colors are named "colour0" and "colour1" and can be found in the Color Attributes dropdown in the Object Data Properties tab. Colour0 is associated with the lighting of your model, and this color is usually orange (or pink for emissive). Colour1 is for wind/sweat effects and for freemode clothing is almost always black.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FOtueZeu3mxzTUtYGErmY%252Fvertex_color.png%3Falt%3Dmedia%26token%3Dad82c4e4-1878-452c-b046-1631198372b0&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=fb21b2e3&#x26;sv=1" alt=""><figcaption></figcaption></figure>

There are two ways to see these colors on our model. The first way is to switch into Vertex Paint mode (instead of object/edit/pose mode). The second way is in the Viewport Shading settings. In solid view, changing the Color to 'attribute' will preview the colors while in Object/Edit/etc mode.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252Fxl9loEIGn2JJXh7mUkZ9%252Fviewport_shading.png%3Falt%3Dmedia%26token%3Dae2a5050-be69-44a9-8a06-ac1daa940599&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=32ec03d0&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Once you are previewing the colors, simply selecting colour0 or colour1 from the color attributes dropdown will switch your active view between them.

## Painting new vertex colors <a href="#painting-new-vertex-colors" id="painting-new-vertex-colors"></a>

As I stated earlier, colour0 has to do with lighting. For freemode clothing we use orange color #ff8000 most of the time. For colour1, unless you want clothing that shakes in the wind or parts of the alpha to show sweat effects, we paint it as #000 with no alpha. So let's add them to a model

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FViuo5UJXpfzJbymrhON6%252Fimage.png%3Falt%3Dmedia%26token%3D6a7119c0-6fc4-4eab-8239-1c97f205875c&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=1b0593ea&#x26;sv=1" alt=""><figcaption></figcaption></figure>

In the color attributes panel, click the + (plus) sign.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252F2SsJagXaxNMxXJqYnvyY%252Fimage.png%3Falt%3Dmedia%26token%3D9eee0add-7dfd-4dd2-893c-64a2dad0c3d6&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=3f52f8bc&#x26;sv=1" alt=""><figcaption></figcaption></figure>

For `Name` put in colour0. `Domain` is 'Face Corner' and `Data Type` is 'Byte Color'. Then click the `Color` box.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FmB0QpOSKHMyiz5ppS8Kt%252Fimage.png%3Falt%3Dmedia%26token%3Da534c6b2-7d79-4003-ab69-15ccac204796&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=aa9a284&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Go to the 'Hex' tab, type FF8000 and you should see the orange color you need pop in. I set alpha to 0 here as well, but you can leave it at 1 for colour0 if you wish. Alpha will matter more in the next step.

### Let's add our second vertex color now. <a href="#lets-add-our-second-vertex-color-now" id="lets-add-our-second-vertex-color-now"></a>

Just like before, press the + (plus) icon to start adding a new color.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FIUZw48m90NGGMK6g1XyW%252Fimage.png%3Falt%3Dmedia%26token%3Dce4b0f81-c2bf-4a73-ace1-21c67d028199&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6bfb5f91&#x26;sv=1" alt=""><figcaption></figcaption></figure>

For `Name` put in colour1. `Domain` is 'Face Corner' and `Data Type` is 'Byte Color'. Then click the `Color` box.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FuFtszhxJ8ewi4uo2I4mT%252Fimage.png%3Falt%3Dmedia%26token%3D25d34cbd-b7cb-449e-bb97-e7fce9dd7420&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=3cb74c73&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Go to the 'Hex' tab, type 000 in the box and press enter and you should see the orange color you need pop in. **The alpha should be 0 (zero)** unless you want sweat effects. If you want to have such effects, there are more advanced tutorials for painting alpha layers available in the tutorials section in Sollumz discord. For a basic piece you want no sweat and no wind, so paint it fully black with 0 alpha.

Otherwise, you're done!

## Emissive Clothing <a href="#emissive-clothing" id="emissive-clothing"></a>

If you are painting emissive clothing, your vertex colour0 needs to be pink instead of orange to be able to glow correctly in-game.

In the color attributes panel, click the + (plus) sign.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FCE48prcrZRZgNLHQLZRz%252Fimage.png%3Falt%3Dmedia%26token%3D0b5cc889-f3b1-471f-81f7-d0560c07ce98&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=7a6b137e&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Just like above: For `Name` put in colour0. `Domain` is 'Face Corner' and `Data Type` is 'Byte Color'. Then click the `Color` box.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FR593aBaxnAjC5lbumBwC%252Fimage.png%3Falt%3Dmedia%26token%3D55d8bcac-794e-4ac7-93ca-0a644c76ded4&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=5e928d84&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Go to the Hex tab. In the box, type `FFBAFF` then press enter. You should see a pink color come in.

**You only paint pink the parts you actually want to have glowing ingame.** Separate your mesh to single out the pieces that will glow, paint their vertex colours this pink, and the rest of the mesh follows the orange/black schema above.

Here is a cube painted as an example.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FntYUpuHidGQxZDK3CTWy%252Fimage.png%3Falt%3Dmedia%26token%3D9a4fa34c-70fa-44e4-bd7f-ecdbaef6400a&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=f5f07992&#x26;sv=1" alt=""><figcaption></figcaption></figure>

The pink portions have been separated out as the only pieces that will glow ingame.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FFPx1lPb5ayjw7nTF3jkA%252Fimage.png%3Falt%3Dmedia%26token%3D378699e5-7148-4a5b-97d4-cfe5d2eeb9a8&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=c5dd211f&#x26;sv=1" alt=""><figcaption></figcaption></figure>

The rest stays orange.

<figure><img src="https://maneki-neko-1.gitbook.io/~gitbook/image?url=https%3A%2F%2F970011517-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FzlVJDcNwypyuPEqM4G8Q%252Fuploads%252FEPwuJsM4e2uBnuRFdDbF%252Fimage.png%3Falt%3Dmedia%26token%3D0f715775-4154-42d8-a5ea-70a27e36649e&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=74ad3de&#x26;sv=1" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.gta.clothing/cloth-modding/vertex-colors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
