Skip to main content

Ultimate Beauty Package

DeepAR Ultimate Beauty Package is a solution that uses DeepAR SDK to apply virtual makeup to a user's face or change the shape of their facial features in real-time, using a front-facing camera. DeepAR Virtual Makeup & Beauty also allows developers to customise the makeup style and intensity on the fly via the SDK API.

This package contains the ultimate DeepAR beauty/makeup filter setup with all the functionalities and best practices our tech and art team have created. Additionally, it comes with 25 unique makeup looks and all the source assets that went into creating them. You can mix and match those assets to create even more unique looks in a matter of minutes.

What is included in the package

Face makeup

  • 25 complete ready-made beauty and makeup looks with all the source files, 3D models, textures, and shaders.
  • Skin makeup features - complete set of tools to create perfect skin makeup:
  • Skin smoothing
  • Foundation makeup layer - custom foundation make-up color blended with underlying skin
  • Makeup blush layer - 10 shapes
  • Highlight layer - 10 shapes
  • Contour layer - 10 shapes
  • Cheek glitter layer - apply reflective cheek glitter in any color combination

Eye makeup

  • Eyeliner - 10 eyeliner shapes
  • Eyelashes - 30 eyelashes variation covering all styles and lengths
  • Eyeshadow - over 30 different eyeshadow styles. Choose your own color pallete with simple looks, add glitter, and uniquely drawn eyeshadows.
  • Eye accessories - add diamonds, flowers, and glitter to enrich your eye makeup
  • Retina coloring
  • Eye gloss/watery eyes effect

Lip makeup

Apply your custom lips color palette to achieve realistic lip makeup:

  • Single lip color
  • Liner style dual lip color - 15 ready examples
  • Lip gloss and glitter - apply additional gloss or glitter layer above your base lip color

Face Shaping

It includes 11 face shape modifiers:

  • Bigger eyes
  • Nose shape
  • Chin
  • Jawline
  • Lips
  • Face thinning
  • Eyebrow thickness
  • Forehead size
  • and more

LUT Filters

Set the overall tone of your makeup filter with over 30 available LUT filters.

Hair Color layer

Includes shaders for perfect hair coloring. For extra fun, you can have the hair change color dynamically over time.

Background Segmentation and Background Blur

🙌 Premium support

Our team is here to help you take most of our beauty and makeup technology.

🎉 Free updates

Any future beauty and makeup technology improvements will be available for free.

Contents

StudioFiles/base/baseBeauty.deeparproj DeepAR Studio project

All basic beauty elements that are described above are set up in this Studio file. The file should be used as a basis for each new beauty look. You should just change parameters on different materials like textures and/or colors. Most of the textures in this pack are already preloaded into the baseBeauty.deeparproj project.

Other folders in StudioFiles folder

Extracted parts of the baseBeauty model (like lips or eyeshadow) but implementing certain effects. These are made to easily add to your beauty look.

Fbx models

All fbx models used in the baseBeauty stack and in the looks implementation:

  • beauty_shapes.fbx - base 3D model for beauty effect. It covers users face and supports face deformations (via blend shapes).
  • face_beauty.fbx - master_beauty_2 shader should be applied to this model to implement face makeup like smoothing, foundation, highlight, blush etc.
  • faceBeauty - similar to the model above just without any blendshapes
  • eyes.fbx - this model is used for eyeshadow and eyeliner effects. It is a flat model that covers the area around the eyes up to eyebrows. It is resized as the eyebrows are moving, making this model especially good for applying eyeshadow. Ensure to set up the correct Mesh driver, Camera UVs, and Material depth properties as can be seen in baseBeauty for eye tracking to work properly.
  • eyes2.fbx - the same model as eyes.fbx but does not resize with eyebrows movement, meaning the area it covers around the eyes is static and does not deform with eyebrows movement. This makes it good to use for the eyelashes effect.
  • lips.fbx - a .fbx model used to track users' lips. Used to apply lipstick colors.

Shaders

All additional shaders required to implement beauty effects. The project file has all of the shaders preloaded.

Looks

Includes 25 baseBeauty based makeup looks.

Textures

Textures are the main part of beauty looks and all textures used in the 25 provided looks and the baseBeauty project are available in the Textures folder, as well some additional textures are found here separated into categories for easier navigation.

Creating your looks

To begin, open the baseBeauty.deeparproj found in the StudioFiles/base folder and open it in Studio 4.00 (available on the Downloads page).

This project is preloaded with multiple Eyeliner, Eyeshadow, Eyelashes, Lips, etc. textures. You can follow the steps below to easily switch out the elements of the beauty look and create custom looks.

Disabling elements

You can disable any of the makeup elements by selecting the corresponding object in the hierarchy and unchecking the Enabled checkbox in the Properties tab or by deleting the corresponding object in the hierarchy (Backspace).

Change parameter from the app

All of the parameters listed in this article can also be changed at runtime using our change parameter API on iOS and Android.

Here is how to disable or enable any of the nodes mentioned:

Game ObjectComponentParameterType
Any node nameEmpty stringenabledbool

Smoothing and Foundation

Our Face Makeup assets provide a perfect foundation match to customers and product recommendations tools. The customer can pick their skin tone from light to dark and then choose a shade from the color palette. This asset can also add a realistic blur and brightness whilst smoothing skin imperfections. The built-in parameters for color and texture could be adjusted to create a natural-looking shade against any skin color as well as apply blush, highlights, and contour.

To edit smoothing, foundation, blush, highlights, and contours, select the faceDefaultMat from Assets Materials and edit the material.

smoothing-and-foundation1

Smooth mask and Foundation mask are alpha masks that determine the areas of the face where smoothing and foundation are applied.

Areas that are transparent in the mask (alpha = 0) will not be smoothed and the foundation won’t be applied. This is used to exclude the eyes and mouth from smoothing and foundation.

smoothing-and-foundation2

Blush mask, Highlight mask, and Contour mask are alpha masks that will control the position and shape of the blush, highlights, and contours respectively.

smoothing-and-foundation3

The Smoothing Amount uniform will impact the intensity of smoothing, Foundation Luma Clamp will impact the intensity (coverage) of the foundation, and Foundation Color will change the foundation color.

  • Highlight Amount controls the intensity of the highlights
  • Highlight Color controls the color of the highlights
  • Contour Amount controls the intensity of the contours
  • Contour Color controls the color of the contours

This material is used by the face_makeup object in the hierarchy.

smoothing-and-foundation4

Example:

smoothing-and-foundation5

Change parameter from the app

Look elementGameObjectComponentParameterType
Smoothing Textureface_makeupMeshRenderersmoothteximage
Foundation Textureface_makeupMeshRendererfoundationteximage
Blush Textureface_makeupMeshRendererblushteximage
Highlight Textureface_makeupMeshRendererhighlightteximage
Smoothing Textureface_makeupMeshRenderercontourteximage
Smoothing Amountface_makeupMeshRenderersmoothingAmountfloat
Foundation Intensityface_makeupMeshRendererfoundationLumaClampfloat
Foundation Colorface_makeupMeshRendererfoundationColorvec4
Blush Intensityface_makeupMeshRendererblushAmountfloat
Blush Colorface_makeupMeshRendererblushColorvec4
Highlight Intensityface_makeupMeshRendererhighlightAmountfloat
Highlight Colorface_makeupMeshRendererhighlightColorvec4
Contour Intensityface_makeupMeshRenderercontourAmountfloat
Contour Colorface_makeupMeshRenderercontourColorvec4
Disable elementface_makeupEmpty stringenabledbool

Face Shape

This try-on allows the user to shape their facial features and enhances their look so they can take the perfect selfie. The Face Shaper asset also benefits aestheticians and cosmetic surgery professionals’ work to showcase a super-realistic preview of the procedure outcome.

Depending on the desired end result, each effect can be adjusted with sliders for a more subtle or exaggerated look.

To edit the face shape select the beauty_shapes object in the hierarchy and navigate to its Properties tab.

face-shape1

Under Mesh Renderer you will find a Blend Shapes field. You can expand it and change the blend shapes values to change the face shape.

face-shape2

Change parameter from the app

note

Disabling this node will make other elements not show up properly. To disable shaping simply set all blendshapes to 0.

Look elementGameObjectComponentParameterType
Eyebrow thicknessbeauty_shapesMeshRendererblendShape1.eyebrows_thicknessfloat
Forehead sizebeauty_shapesMeshRendererblendShape1.upper_position_altfloat
Eyebrow positionbeauty_shapesMeshRendererblendShape1.eyebrows_positionfloat
Lip Widthbeauty_shapesMeshRendererblendShape1.mouth_horizontalfloat
Jawline Shapebeauty_shapesMeshRendererblendShape1.jawlinefloat
Lip Fullnessbeauty_shapesMeshRendererblendShape1.mouth_verticalfloat
Face widthbeauty_shapesMeshRendererblendShape1.thinfloat
Nose widthbeauty_shapesMeshRendererblendShape1.nosefloat
Mouth positionbeauty_shapesMeshRendererblendShape1.mouthfloat
Eye sizebeauty_shapesMeshRendererblendShape1.eyesfloat
Chin sizebeauty_shapesMeshRendererblendShape1.chinfloat

Example:

face-shape3

Lips

Our Lip Makeup asset is, of course, for creating virtual lipstick products. We use a combination of tracking and advanced 3D shading techniques to produce a realistic lip color and texture that work with all skin colors and lighting environments.

By adjusting the built-in parameters for color and texture, a realistic model of any lipstick model can be created. Our in-house team of AR artists and designers have taken great care to preserve the important details, so customers can see what the real product will look like using their own device.

Additionally, the DeepAR platform offers full functionality to create any type, and number, of additional variations of these assets for free. We believe in giving our clients full control.

Lip Gloss

Lip gloss can be used to add gloss or combined with lipstick to achieve other finishes of dipstick.

To edit the lip gloss, select the lipglossMat from Assets Materials and edit the material.

lips-lip-gloss

  • Color Texture is a matcap texture that stores static lighting and reflection information
  • Normal Texture is a normal map used for mapping bumps and dents for lighting
  • Color Multiply Texture - a specular texture used to define shininess/highlight
  • Color - a color tint applied to the gloss

This material is used by the lip_gloss object in the hierarchy.

lips-lip-gloss1

Change parameter from the app

Look elementGameObjectComponentParameterType
Color Texturelip_glossMeshRenderers_texColorimage
Normal Texturelip_glossMeshRenderers_texNormalimage
Color Multiply Texturelip_glossMeshRenderers_texMultimage
Colorlip_glossMeshRendereru_colorvec4

Lipstick

Lipstic would most closely correspond to a matte lipstick. Combine it with different versions of gloss to achieve different results.

To edit the lipstick, select the lipcolorMat from Assets Materials and edit the material.

lips-lipstick

The Texture is a color texture that is applied to the lips you can replace this texture with any preloaded texture whose name begins with lips-basic for single-color lipsticks or lips-dual for dual-color lipstick/liner. You can also use the prepared textures as a template to create your own lip look.

lips-lipstick1

This material is used by the lips object in the hierarchy.

lips-lipstick2

Change parameter from the app

Look elementGameObjectComponentParameterType
TexturelipsMeshRenderers_texColorimage

Lip Shape

lips-lipshape

To edit the Lip shape select the lips object in the hierarchy.

Under Mesh Renderer you will find a Blend Shapes field. Expand it and change the blend shapes values to change the lip shape.

Change parameter from the app

Look elementGameObjectComponentParameterType
Inner lip bottom positionlipsMeshRendererblendShape1.bottom_inner_lipfloat
Outer lip bottom positionlipsMeshRendererblendShape1.bottom_outer_lipfloat
Inner lip upper positionlipsMeshRendererblendShape1.upper_inner_lipfloat
Outer lip upper positionlipsMeshRendererblendShape1.upper_outer_lipfloat

Eyes

Eyeliner

A classic cat eye or an explosion of colour? Both can easily be done.

To edit the eyeliner, select the eyelinerMat from Assets Materials and edit the material.

eyeliner

The Texture is a color texture that is applied to the eyes you can replace this texture with any preloaded texture whose name begins with eyeliner, or you can use the prepared textures as a template to create your own eyeliner look.

This material is used by the eyeliner object in the hierarchy.

eyeliner1

Change parameter from the app

Look elementGameObjectComponentParameterType
TexturelipsMeshRenderers_texColorimage

Cheek Glitter

Cheek glitter applies a reflective textured shine to the cheeks.

To edit the lip cheek glitter, select the lipglfaceGlitterMat` from Assets Materials and edit the material.

cheek-glitter

  • Normal Texture is a normal map used for mapping bumps and dents for lighting
  • Color Multiply Texture - a specular texture used to define shininess/highlight
  • Color - a color tint applied to the glitter

This material is used by the glitter node.

cheek-glitter1

Change parameter from the app

Look elementGameObjectComponentParameterType
Color TextureglitterMeshRenderers_texColorimage
Normal TextureglitterMeshRenderers_texNormalimage
Color Multiply TextureglitterMeshRenderers_texMultimage
ColorglitterMeshRendereru_colorvec4

Eyeshadow

Smokey eyes or bright pink glitter? We’ve got it all. Create a complete AR eye makeover experience with our Eyeshadow assets.

The built-in parameters for color, texture, size, and style allow the creation of any eye makeup product.

Our Ultimate Beauty Package offers multiple methods of applying eyeshadow, you usually only need one per look. The unused eyeshadow elements can simply be disabled in the hierarchy.

eyeshadow

Eyeshadow Basic

This is the basic Eyeshadow with an alpha mask and one color.

To edit the lip cheek glitter, select the eyeshadowBasicMat from Assets Materials and edit the material.

eyeshadow-basic

Texture is a white alpha texture that wil define the shape of the eyeshadow and Color is the eyeshadow color.

Change parameter from the app

Look elementGameObjectComponentParameterType
TextureeyeshadowBasicMeshRenderers_texColorimage
ColoreyeshadowBasicMeshRendereru_colorvec4
DisableeyeshadowBasicEmpty stringenabledbool

Eyeshadow 3 Colors

This is Eyeshadow is similar to the Basic Eyeshadow but it has three alpha masks and each masked area has it's own color.

To edit the lip cheek glitter, select the eyeshadowThreeColorMat from Assets Materials and edit the material.

eyeshadow-3-colors

Textures are white alpha textures that will define the shape of the area and Color is the eyeshadow color for each area.

Change parameter from the app

Look elementGameObjectComponentParameterType
Texture1eyeshadow3ColorsMeshRendereralpha_tex1image
Color1eyeshadow3ColorsMeshRendereru_color1vec4
Texture2eyeshadow3ColorsEmpty stringalpha_tex2image
Color2eyeshadow3ColorsMeshRendereru_color2vec4
Texture3eyeshadow3ColorsMeshRendereralpha_tex3image
Color3eyeshadow3ColorsEmpty stringu_color3vec4
Disable*Eyeshadow3ColorsEmpty stringenabledbool

Eyeshadow Multiply

This is Eyeshadow is uses only one texture and the multiply blend mode to apply the eyeshadow

To edit the lip cheek glitter, select the eyeshadowMultiplyMat from Assets Materials and edit the material.

eyeshadow-multiply

Texture is a texture that contains both the shape and color of the eyeshadow. Because Multiply blend mode is used the base texture is white.

Change parameter from the app

Look elementGameObjectComponentParameterType
Texture1eyeshadowMultiplyMeshRenderers_texColorimage
Color1EyeshadowMultiplyEmpty stringenabledbool

Eyeshadow Glitter

Cheek glitter applies a reflective textured shine to the eyelids.

To edit the lip cheek glitter, select the eyeshadowMatcapMat from Assets Materials and edit the material.

eyeshadow-glitter

  • Color Texture is a matcap texture that stores static lighting and reflection information
  • Normal Texture is a normal map used for mapping bumps and dents for lighting
  • Color Multiply Texture - a specular texture used to define shininess/highlight
  • Color - a color tint applied to the glitter

Change parameter from the app

Look elementGameObjectComponentParameterType
Color TextureeyeshadowGlitterMeshRenderers_texColorimage
Normal TextureeyeshadowGlitterMeshRenderers_texNormalimage
Color Multiply TextureeyeshadowGlitterMeshRenderers_texMultimage
ColoreyeshadowGlitterMeshRendereru_colorvec4
DisableeyeshadowGlitterEmpty stringenabledbool

Eyelashes

How about some false lashes?

To edit the eyelashes, select the eyelashesMat from Assets Materials and edit the material.

eyelashes

This material is used by the eyelashes object in the hierarchy.

eyelashes1

Change parameter from the app

Look elementGameObjectComponentParameterType
TextureeyelashesMeshRenderers_texColorimage
DisableeyelashesEmpty stringenabledbool

Exporting an effect

When you are happy with your effect you can export it by clicking File Export Effect. Ensure there are no errors when exporting. You can verify that there are no errors if the preview looks correct. If there are errors click on the error icon on the top right to resolve them.

The most common mistakes are Unassigned texture, material, or shader. You can learn more about exporting and using the effects in this tutorial.

Changing the parameters from the code

All of the parameters listed before can also be changed at runtime using our change parameter API on iOS and Android.

Here is a table of parameter names for a quick reference:

Other available elements

The Ultimate Beauty Package also offers other advanced features that were omitted from the baseBeauty. These additional features may not be available on all platforms.

Hair Color (iOS only)

hair-color-gif

Supported Hair Color Products:

  • Single hair color
  • Two-color gradient
  • Half-dye block
  • Multicolor
  • Full RGB Range

You can find prepared hair color effects that can be added to your application in the StudioFiles/HairColor folder.

Background Blur

You can find a ready background blur effect that can be added to your application in the StudioFiles/BackgroundBlur folder.

This effect is not supported on WebSDK, but it will function on other platforms. To achieve this effect on other platforms, please use the background blur template available in the Studio.

bg-blur-template

Eye Coloring

If you wish to change eye colour or add some gloss to the eyes themselves, we have a ready effect for that.

You can find the ready eye color and eye gloss effects that can be added to your application in the StudioFiles/Eyes/RetinaColoring folder.

The eye coloring effect is not supported on WebSDK, but it will function on other platforms. To achieve this effect on other platforms, please use the eye color template available in the Studio.

eye-color-template