4.6 KiB
| title | description |
|---|---|
| Import into Studio | Makeup is a cosmetic look made up of multiple facial textures and optional eyebrow and eyelashes. |
Import into Studio
If you are following the common practice of authoring makeup changes in a third-party tool, use the following import instructions to get your custom makeup textures into Roblox Studio:
These instructions apply specifically to the Makeup test place, available in the [Makeup Beta downloadable resource](https://github.com/Roblox/avatar/tree/main/Makeup), which uses a script to programmatically apply a Decal to the face of the associated character-
Before importing into Studio, ensure that your
.fbxor.gltftemplate file is correctly configured.- Primarily, ensure that your model includes:
- Target head mesh
- Target head cage mesh
- If modified,
Lipsmesh and associated textures. - If modified,
Facemesh and associated textures. - If modified,
Eyesmesh and associated textures.
- Primarily, ensure that your model includes:
-
In Studio, open up the Makeup test place.
-
Click File > Import 3D and select your 3D makeup asset. Verify there are no errors with the imported components.
-
Click Import to add the file into Studio. A new
Modelpopulates in the workspace. -
In the Explorer, expand the new
Model. Verify thatDecalchild objects have populated, each with their ownWrapTextureTransferchild object.
On import, makeup decals appear within the Model. 
Each decal parents a WrapTextureTransfer object -
In the test place, copy your new
Decalobjects into a character model'sMakeupfolder.- If you want to apply eyebrows or eyelashes, move those
MeshPartsinto the character'sAccessoriesfolder. For this place file, you do not need to convert eyelashes and eyebrows into Accessories first.
- If you want to apply eyebrows or eyelashes, move those
-
Press Play to playtest and verify that the character has the new makeup applied.
Test with Avatar Setup
You can also use the Avatar Setup tool to preview makeup assets without playtesting.
- Open the Avatar Setup tool by navigating to Avatar > Setup.
- Select the model you would like to preview your assets on.
- For makeup decals, such as eyes, face, and lips:
- In the Explorer, select any makeup decal assets you want to add into the Avatar Setup preview.
- The preview only supports valid makeup decals with a child
Class.WrapTextureTransfer.
- The preview only supports valid makeup decals with a child
- In the Avatar Setup panel, click the + symbol to add the assets to the Avatar Setup tool.
- In the new prompt, specify the makeup asset type (eyes, face, lips), for each decal selected.
- In the Explorer, select any makeup decal assets you want to add into the Avatar Setup preview.
- For makeup meshes, such as eyebrows and eyelashes:
- In the Explorer, move the
Class.MeshPartobjects as children within the avatar model in the Explorer, and then clicking the + button to add them to Avatar Setup.
- In the Explorer, move the
- In the Avatar Setup panel, navigate to the Face > Makeup tab and validate that your assets were properly imported into the tool.
- Click on assets to equip them in your preview.
- Change the order of the assets by dragging their icons on the right side of the preview box.
- Click X to remove them from your avatar preview.
- To see how makeup animates, navigate to the Animations tab, and test various sequences to see what your avatar looks like with the makeup applied.
For the best results during this beta period, use the avatars provided from Roblox in the test place. You may also bring in any other avatar, but the quality of the makeup fit depends on the head's underlying cage, which may result in varied appearance if not properly aligned.