Facewear
Create custom facewear for Ready Player Me avatars.
Last updated
Create custom facewear for Ready Player Me avatars.
Last updated
This document explains how to create facewear that meets Ready Player Me technical specifications and functions properly in your application. The facewear asset type is any asset that mainly covers areas of the face (but are not glasses), like masks and bandanas.
Download template facewear-bandana (Download). The template project contains a reference head model and a facewear model.
Use Blender to open the facewear-bandana-03.blend.
Inspect this example and familiarize yourself with the details as your design must match the same requirements.
Create a headwear model as a single object. It should fit the provided head model reference in the facewear-bandana-03.blend template project. -> Check out modeling guidelines
If your facewear does cover the neck or clavicle area and needs to deform with motion of the head, you can assign skin weights to the joints in the provided template file.
Furthermore, if you need to support deformations of the facewear for animations of the face, e.g. a talking avatar, you can add blendshapes to the facewear. Check the documentation on morph targets.
Asset Limitations
Be aware that facewear meshes will pass through other meshes of the avatar, e.g. body or the torso garment, during animation and not react physically accurate (or at all) to colliding geometry.
The materials use the metalness PBR workflow.
Keep the shading network of the material as simple as possible.
Enable Backface Culling (single-sided materials). Only use double-sided materials when absolutely necessary. Otherwise, leave the box checked.
Export the hair model into glTF Embedded (.glb). Below are the required export settings using Blender.
Only include the headwear model in the export, not the head reference.
Starting with Blender 4, objects placed in a glTF_not_exported
collection are excluded from the export.
Do not use custom glTF-Extensions extensions in the file, e.g. Draco mesh compression.
File type: .GLB
File Size: max. 10 MB
Icon file size: max. 1 MB
Using the Ready Player Me Studio interface, you can navigate to the Asset Manager, and then choose Add new asset
, or directly go to https://studio.readyplayer.me/asset-management/new.
In the Type
selection, you must select Facewear as the asset type.
In the Gender
selection, choose Neutral to make them available to all stereotypes.
Upload the necessary files and Save. The asset is only saved when it passes validation. If any errors are detected regarding the compliance with the requirements, you'll get a notification and more information.
When you want to push your assets to your organization at Ready Player Me, use thePOST - Create AssetAPI endpoint with the data.type
set to facewear
.
Once the asset is created, the files will be stored by Ready Player Me.
If you don't have the files yet available at a public URL for use with the Create Asset API endpoint, you can use the temporary storage solution provided by us via the POST - Upload Asset Filesendpoint.
Once the export is complete, open Ready Player Me Studio (Asset Manager) and upload your creation. The asset will be validated on upload. Learn more Asset Manager in Studio.