LogoLogo
WebsiteBlogForumsSign up
  • Welcome
  • How Ready Player Me works
  • FAQ
  • 👩‍💻Integration Guides
    • Overview
    • Unity
      • Quickstart
      • Avatar Creator Integration
        • WebView Avatar Creator
          • Avatar Creator for Android & iOS
          • Avatar Creator for WebGL
        • Build your own Avatar Creator
          • Start with the sample
          • Elements
            • Asset Selection Element
            • Color Selection Element
            • Template Selection Element
            • Body Shapes Selection Element
            • Gender Selection Element
            • Avatar List Element
            • Photo Capture Element
            • Signup Element
            • Login Element
            • Logout Element
          • User Management
      • Load 2D Renders
      • Avatar Loader Window
      • Setup Multiplayer
      • Setup for XR (Beta)
        • Setup the Player Avatar
        • Setup Meta Movement SDK
        • Setup Final IK
        • Setup XR Hands
          • RpmHandDriver script
        • Facial Animations
        • VR Avatar Creator
      • Animations
        • Ready Player Me Animation Library
        • Mixamo Animations
      • Optimize
        • Avatar Configuration
        • Avatar Caching
        • Defer Agents
      • Code Samples
        • Loading 3D Avatars
        • Loading 2D Avatars
        • Avatar Creator (WebGL)
        • Avatar Creator (Desktop)
        • Avatar Creator (Mobile)
        • Distance-based LODs
      • Troubleshooting
        • Editor UI Window Issues
        • Avatar loading issues
        • iOS issues
        • WebGL issues
        • Firewall issues
        • Updating the SDK
          • Unity SDK 3.0.0 Migration guide
          • Unity SDK 4.0.0 Migration guide
          • Unity SDK 5.0.0
          • Unity SDK 7.0.0
          • WebView 2.0 Migration
        • Package installation issues
      • Help us improve the Unity SDK
      • FAQ for Unity
      • Early Access Features
    • Unreal Engine
      • Quickstart
        • Import SDK Manually
      • Avatar Creator Integration
        • Build your own Avatar Creator
          • Sample Structure
          • Customization Guide
        • WebView Avatar Creator
      • Load Avatars
      • Animations
        • Ready Player Me Animation Library
        • Loading Mixamo animations
        • Mannequin animation retargeting
        • Blender FBX export to UE
        • Oculus Lipsync integration
      • Optimize
        • Avatar configuration
        • Avatar caching
        • Avatar preloading
      • Code Samples
        • Unreal Engine 5 samples
        • Lyra project integration example
        • VR Avatars
        • Unreal Engine 4
      • Troubleshooting
        • Project compilation issues
        • Missing materials on built applications
        • Avatar loading issues
        • Animation issues
        • Unreal SDK breaking changes
        • Avatar lighting issues
        • Updating from earlier versions
          • Unreal SDK 3.0.0 Migration guide
        • Auto LOD issues
      • Help us improve the Unreal Engine SDK
      • FAQ for Unreal Engine
      • Early Access Features
    • React
      • Quickstart
    • React Native
    • iOS Native
    • Android Native
    • Web Integration
      • Quickstart
      • User Management
        • Guest Accounts
        • Account Linking
      • Avatar Creator integration
      • Optimize
    • API Integration
      • Quickstart
      • Custom Avatar Creator
      • User management
        • Ready Player Me Account
        • Anonymous Accounts
    • UX/UI Guidelines
      • Summary & quick tips
      • UX and UI guidelines and essentials
        • Foundation for good user experience
          • Layout
          • Colors
          • Typography
          • Icons
          • Dark mode and light mode
        • Mobile best practices
          • Layout
        • Making Ready Player Me feel native
          • Seamless Avatar Integration
          • Consistent Branding
          • Responsive Layout
          • Performance Optimization
        • Discoverability of the avatar editor
          • Onboarding tutorial
          • Clear navigation
          • Contextual Placement
  • 🖌️Customizing Guides
    • Studio (Developer Dashboard)
    • Avatar Creator Appearance
      • Avatar URLs
      • Avatar Shortcodes
    • Upload and Manage Custom Assets
      • Asset Manager in Studio
      • Configure in Studio
      • Manage custom assets using the API
      • Unlocking assets through API (Beta)
    • Create Custom Assets
      • Fullbody Outfits
        • Checking Skin Weights
      • Tops, Bottoms, Shoes
        • Editing templates
      • Hairstyle
      • Headwear
      • Facewear
      • Glasses
      • Hero Characters
      • Modeling Guidelines
  • 🔃API Reference
    • REST API
      • Authentication
      • Avatars
        • GET - 3D avatar
        • GET - 2D Render of an Avatar
        • GET - Metadata
        • PUT - Equip an asset
        • PUT - Unequip an asset
      • Assets
        • Asset Entity Properties
        • POST - Create Asset
        • GET - List Assets
        • PATCH - Update Asset
        • POST - Upload Asset Files
        • POST - Add Asset to Application
        • DELETE - Remove Asset from Application
        • PUT - Unlock asset for a user
        • PUT - Lock asset for a user
      • Users
        • POST - Create User
      • Auth
        • GET - Token
      • Changelog
    • Avatars
      • Full-body avatars
      • Full-body XR avatars
      • Half-body avatars
      • Morph targets
        • Apple ARKit
        • Oculus OVR LipSync
    • Avatar Creator
  • 🔉Support
    • Forums
    • Licensing & Privacy
Powered by GitBook
On this page
  • 1. Create your hairstyle
  • Materials & Texture Maps
  • 2. Export the asset
  • 3. Upload and validate your asset
  • File Requirements
  • Ready Player Me Studio
  • API

Was this helpful?

  1. Customizing Guides
  2. Create Custom Assets

Hairstyle

Create custom hairstyles for Ready Player Me avatars.

PreviousEditing templatesNextHeadwear

Last updated 1 year ago

Was this helpful?

This document explains how to create an avatar hairstyle that meets Ready Player Me technical specifications and functions properly in your application.

1. Create your hairstyle

  • Use Blender to open the hair_demo.blend.

Technical requirements
  • Triangle count: max. 5000

  • Object name: Wolf3D_Hair

  • Mesh name: Wolf3D_Hair

  • Material name: Wolf3D_Hair

  • Basecolor map: No (Hair color is changed by the user)

  • Normal map: Optional OpenGL tangent space normal map, +Y up.

  • Metallic-Roughness map: Optional

  • Emissive map: Optional

  • Texture Resolution: max. 2048 x 2048 pixels Texture resolutions must be square and power-of-two, e.g. 128x128, 256x256, 512x512.

  • Texture files format: PNG/JPEG PNG with 24 bits per pixel. Do not use palettes (8-bit color indexed). Do not include metadata or color profile information in the image files to avoid errors.

  • Individual texture file size: max. 4 MB

  • Vertex colors: No

  • Skin weights: Optional No more than 4 influences per vertex. Weights must be normalized.

  • Set object, mesh data, and material names in Blender according to the Technical requirements.

  • Check that the object does not have any vertex colors.

  • Check that object location, rotation and scale have been applied. In Blender you can do that by selecting the hair object and going to the 3D view's menu Object -> Apply -> All Transforms.

Asset Limitations

Be aware that hair 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. Short hair styles are better for hiding this effect.

Materials & Texture Maps

  • Asset uses Principled BSDF (PBR) material in Blender.

  • Enable Backface Culling.

  • Material does not have a basecolor map. Leave Principled BSDF Base Color empty. For a Ready Player Me avatar, the color of the hair is chosen by the user, so any basecolor map would be discarded.

  • Notice that the Color Space for Normal Map image texture is set to Non-Color.

2. Export the asset

  • Export the hair model into glTF Binary(.glb). Below are the required export settings using Blender.

  • Only include the hair model in the export, not the reference head model.

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.

3. Upload and validate your asset

File Requirements

  • File type: .GLB

  • File Size: max. 10 MB

  • Icon file size: max. 1 MB

Ready Player Me Studio

In the Type selection, you must select Hair 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.

API

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 hair. 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.

Download the . The template project contains a reference head model and a hairstyle.

Your asset must fit the head-template ()

Create a hairstyle as a single object. It should fit the provided head model reference in the hair_demo.blend template project. ->

Occlusion map: Optional We recommend to pack the occlusion map into the red-channel of the metallicRoughnessTexture. See on how to export it.

Using the interface, you can navigate to the Asset Manager, and then choose Add new asset, or directly go to .

Once the export is complete, open Ready Player Me Studio () and upload your creation. The asset will be validated on upload. Learn more .

🖌️
hair template Blender project
Download Head Template
Check out modeling guidelines
Blender documentation
Ready Player Me Studio
https://studio.readyplayer.me/asset-management/new
Asset Manager
Asset Manager in Studio
Example hairstyle in Blender
hair_demo.glb shows a correct Principled BSDF material setup in Blender for hair, including a normal map.
Export Settings in Blender