• DeepAR


Welcome to another fun DeepAR tutorial! Today we’re going to learn how to do a facepaint mask for DeepAR.

There’s two ways of doing that – you can either paint directly on top of a dense mesh or you can create a 3d asset and place it on the scene. You can also use a tracking point and parent that assets to that tracking point.

The first thing to do is to create the UVs. In this case since most of the time you’ll be facing the camera. We’re going to do a planar projection and then we will paint on top of that. There are multiple ways of creating a texture. You can use a 3D painting tool like 3D coat or Mudbox or substance painter that allows you to paint in the 3d space. Those programs automatically generate the 2d textures but in this case let’s keep it simple.

We’re going to use our UV projection and we will import that into Photoshop and we’ll simply paint on top of that. In this particular case we already have the paint so we will place it on the face using the UVs as a reference.

A good tip is to leave some opacity some transparency to the painting – that way the painting and the face will blend better together. Also, let’s not forget to hide the UVs. We don’t want the UVs to be showing up on the texture and now we can export a PNG file so we can preserve opacity back in Maya.

We can try our texture and see how it looks and we can reset transformations and we can export the new FBX file so we can preserve the UVs that you created in the DeepAR Studio app. We can import the new masks. We will import our texture, and then we will assign it to the shader and we press refresh model and there you have it!

If you have any feedback please do get in touch with us!