You can select which UV layout to use for your material in two ways. Since the two options use two different UV layouts, it is important to set a corresponding mapping for the Face Mesh to achieve correct positioning. It sets a map between the 2D coordinates of a pixel in the image and the 3D coordinates of a point on the mesh. Note: A UV channel/map defines how a 2D image should be laid out onto a 3D mesh. On the left you can see how the UV looks like for Face Mesh with Skull property disabled, and on the right what it looks like with the Skull property enabled. One important note is that a Face Mesh with the Skull property enabled has a different UV layout than one with the skull property disabled as it contains additional polygons. Make sure to reference the UV maps below so that your texture can be properly applied to the face. Tip: If you want to add a simple texture to the head, you can use the default PBR or Unlit material as well.
Mesh enabler download how to#
See more details of how to use Material Editor here Tip: Check out the Material Library for other example materials.
![mesh enabler download mesh enabler download](https://i.ytimg.com/vi/XQwYe9z0Fws/maxresdefault.jpg)
Double click on any Graph materials to open them in the Material Editor to see how they work. You can also create your own custom materials or use any pre-made materials available in Lens Studio. To try the other materials, select the Face Mesh object in the Objects panel and in the Inspector panel click on the material 1 input and select any of the example materials provided in the materials folder. This template comes with different custom materials that you can apply to Face Mesh. Tip: You can quickly add the Face Mesh with the Skull option by going to the Objects panel and adding Head Mesh directly: This is the same as other features like Eye Geometry and more. You can use the checkbox to enable or disable the skull part of the head. Then, in the Inspector panel you will see the Skull checkbox. To find the Skull property in the template, select the Face Mesh resource in the Resources panel. The Head Mesh consists of a Face Mesh with the Skull property enabled.
![mesh enabler download mesh enabler download](https://www.spiedigitallibrary.org/ContentImages/Proceedings/10703/107037A/FigureImages/00077_PSISDG10703_107037A_page_4_1.jpg)
This template demonstrates how you can take advantage of custom materials made with Material Editor to create effects on top of the user’s head.īefore we modify the material, let’s take a look at the Head Mesh which will display the material.
Mesh enabler download full#
Mesh enabler download download#
You can download the following template to learn more about what you can do with the Head Mesh. The Skull property provides a 3D mesh that mimics the user's skull as well as having all the features that we know from Face Mesh. The Head Mesh is created by enabling the Skull property in the Face Mesh asset.