# Blender

{% hint style="danger" %}
Before uploading, make sure to include the clothing texture in the FBX.
{% endhint %}

### 1. Check the clothing created on the base model

1. In the Base Model Setup, check that the created clothing is properly worn. Find out more [\[Setting up Base model - Blender\]](https://docs.altava.com/creator-guide/3d-modeling/setting-up-base-model/blender)

{% hint style="info" %}
If the unit setup or pivot is incorrect, the position may not align correctly.
{% endhint %}

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FwlJ3JbC9e3iPjtGlRs9t%2Fblender_clothes_correct.png?alt=media&#x26;token=2fc59cee-53de-44fb-8f56-9a142eda90c1" alt=""><figcaption><p><mark style="color:blue;"><strong>O: The clothing is applied correctly.</strong></mark></p></figcaption></figure>

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FLydSRmlqgddYFyHy1V0H%2Fblender_clothes_incorrect.png?alt=media&#x26;token=2d276914-3980-427c-9b0e-88178f160c60" alt=""><figcaption><p><mark style="color:red;"><strong>X: In the case, you must check Units Setup , Scale , Pivo</strong>t.</mark></p></figcaption></figure>

## 2. Applying textures to materials

1. Click on the Shading button in the top menu to navigate to the Shading Editor.

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FwpuAQYr0Z8K517iz4RBe%2Fblender_shading.png?alt=media&#x26;token=48496b41-4cc7-447a-8ce6-f438f645a963" alt=""><figcaption></figcaption></figure>

2. After selecting the clothing modeling, if no material is applied, click the **\[New]** button to add a new material.

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FF6igcARIsYn1NLxGdinA%2Fblender_new_material.png?alt=media&#x26;token=d2509259-041b-4072-9aa9-8da4668cb903" alt=""><figcaption></figcaption></figure>

3. Use Principled BSDF to connect nodes as shown in the image below.

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FrEI3ngXKgS4itCOK4KoZ%2Fblender_material_node.png?alt=media&#x26;token=05609523-fa80-473f-807b-b141f721a429" alt=""><figcaption></figcaption></figure>

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FXlmQF40VORCXLwtXIm6W%2Ftextures.png?alt=media&#x26;token=6395eb8d-3b85-4799-a00d-c13b4a2ee72a" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
**Diffuse 1024x1024**&#x20;

**Normal 1024x1024&#x20;**<mark style="color:red;">**(Using OpenGL method)**</mark>

**Metallic 1024x1024**

**Roughness 1024x1024**&#x20;
{% endhint %}

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2F4y9pcf63yhDpgbzy5XNu%2Fblender_colorspace.png?alt=media&#x26;token=6b00eec8-cbf9-47fd-824c-34e029e50c80" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
The Color Space for the Normal, Metallic, and Roughness textures should be set to Non-Color.
{% endhint %}

## 3. Apply material

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FX9a8RkFasfLgwJnHhf4l%2Fblender_apply_material.png?alt=media&#x26;token=0fc86a59-6748-4001-9cee-726e778f575b" alt=""><figcaption><p><mark style="color:blue;"><strong>O: The material has been applied correctly.</strong></mark></p></figcaption></figure>

{% hint style="warning" %}
To accurately check the texture color, please set the Color Management as shown in the image below.
{% endhint %}

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FpwXpKep2gCtvtzwWUVZk%2Fblender_color_management.png?alt=media&#x26;token=6d7c1306-5e66-4669-89f6-0fc0a5e4e348" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Please check that there are no holes showing the inner mesh, ensure the normal is not flipped, and verify that the applied texture is inserted correctly.
{% endhint %}

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FQJ8EbdkMwiUP0qXU2F1V%2Fblender_apply_material_2.png?alt=media&#x26;token=4882f3f2-8cfd-4e6f-8e62-368a4bf1c749" alt=""><figcaption></figcaption></figure>

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FgJfqVvKnI4VIyBBfMj9r%2Fblender_apply_material_3.png?alt=media&#x26;token=25feb494-6429-44ab-8f58-300ad928b938" alt=""><figcaption></figcaption></figure>

## 4. Export the clothing as FBX

1. Select the clothing to upload individually.

{% hint style="info" %}
The clothing mesh to be extracted should be composed as a single form.
{% endhint %}

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FAoxzAXglVa2Qhnize9UK%2Fblender_select_clothes.png?alt=media&#x26;token=c8d30365-c60e-4a61-966d-d8ca228e0a3e" alt=""><figcaption></figcaption></figure>

2. Select **\[File] - \[Export] - \[FBX]**

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2F85sSutpIPchcic57Q0sm%2Fblender_export.png?alt=media&#x26;token=67a7d84e-e6b2-4c9a-9dc4-38be71d6ac44" alt=""><figcaption></figcaption></figure>

3. Check the following FBX Export options.

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2Fe4YPjz2GfLix0fqB29gu%2Fblender_export_setting.png?alt=media&#x26;token=79e53f91-a2b1-48ee-956d-61542f11315e" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
After setting Path Mode to Copy, you need to activate Embed Textures to ensure the textures are included with the FBX export.
{% endhint %}

{% hint style="danger" %}
Please disable Bake Animation as there may be errors during conversion.
{% endhint %}

### 5. Export the shoes as FBX

Shoes must be uploaded as a symmetrical pair, both left and right.

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FVTj6UU939xgnsVN6FAzi%2Fimage.png?alt=media&#x26;token=e11a0a50-57c3-4a01-b58e-4a3ca339ff3a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Only the left shoes will be visible when editing in the design tool.
{% endhint %}

<figure><img src="https://328555605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbl3tKh4Tqarpg8Dmgw2%2Fuploads%2FBLmh8HTqGSOhwelHZ1BR%2Fimage.png?alt=media&#x26;token=1ca70dfe-f2b2-4104-9338-320a4b662577" alt=""><figcaption></figcaption></figure>
