This document is outdated. FIXME: Contains HiFi hosted content, only talks about FBX, Blender changed a LOT
Tutorial: Modify Materials and Textures Using Blender
Blender is an open-source 3D modeling tool that you can use to fine tune your avatar and ensure that the materials and textures render correctly in Vircadia.
In this tutorial, we will walk you through simple modifications you can make to your avatar using Blender. You will need to import an FBX file for your avatar. If you don't have one, see our tutorial for Mixamo.
In Blender, go to File > Import > FBX (.fbx).
Choose your avatar's FBX file and click 'Import FBX'. This will open your avatar in the main view.
By default, you will not see the materials on your avatar. You can change your view using the toolbar at the bottom of the view.
To get a better view of your avatar, change the lamp settings:
From the Outliner, click the Lamp node in Blender.
For 'Type of Active Data to display and edit', choose the 'Data' icon.
Change the lamp to Sun.
Rotate the Lamp to light up your avatar.
From the Outliner, open the 'Armature' tree and select the item you want to fine tune. You can also click on the item directly on your model.
Using the toolbox below, you can change the materials and texture of each body part as desired. We've included an example below that changes our avatar's eyelashes. You can follow similar steps for other avatar items.
To remove a metallic feel to your avatar in Vircadia, we recommend changing the default Specular Intensity for each of the main body parts from 0.500 to 0.000.
When you're done changing your materials and textures, go to File > Export > FBX (.fbx).
Change the 'Path Mode' to 'Copy', then click the 'Embed Textures' icon. This makes sure that all of the textures are embedded into your model.
Give your avatar a unique name.
Click the 'Export FBX' button.
Now, you are ready to bring your avatar into Vircadia.
Example: Update Eyelashes from an Image
Save this texture to a directory where you will remember.
From the Outliner, open the 'Armature' tree and select 'Eyelashes'.
In the Toolbox below, click the 'Materials' icon.
Click the '+' button next to the material list to create a new material slot.
Click '+ New' to add a new material.
Rename the new material to 'lashes'.
At the bottom of the Blender window, switch to 'Edit Mode'.
Under the material list, click 'Assign'.
Scroll to the 'Transparency' section. Check the Transparency box and change the 'Alpha' value to
Scroll to the 'Specular' section. Set the specular color to black.
Change to the 'Textures' view.
Click '+ New' to add a new texture.
Scroll to the Image section. Click 'Open' and find the lashes texture named 'mixamo_eyelashes' you previously downloaded. Click 'Open Image'.
Check the 'Alpha' options in the following sections: Image, Preview, Texture, Influence
Go to File > External Data > Pack All Into .blend. This will include the texture in your model.