Face Paint
Face Paint is a built-in material that comes with the 3D Face object.
Add Face Paint
You can add Face Paint by clicking the Add button [+] > Material > Face Paint in the Assets panel.
Face Paint Properties
![base property component](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/base_property_component-5131457658f57326620608007278bfa3.png)
Base Property:
- Texture: Texture
- TintColor: Color used to blend the texture.
- Premult On: The color image was masked (multiplied) by its own alpha channel.
![opacity component](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/opacity_component-1cb916ed0afb3df67df3c8ee44a5768c.png)
Opacity: When selected, the material will calculate a new Alpha value by multiplying the R channel value of this new opacity texture. Learn more about Standard PBR.
![uv control component](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/uv_control_component-b752e2beed7d81398bef20ac68e73723.png)
UV Control: Change how textures are sampled in a Face Paint material. Use UV Control to adjust the Tiling, Offset, and Rotation of textures.
- Tiling
- X: (Default: 1)
- Y: (Default: 1)
- Offset
- X: (Default: 0)
- Y: (Default: 0)
- Rotation
- Default: 0
- Range: (0,1)
Render State 0
![render state component](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/render_state_component-a6cbe30ee1d5d813cb041a61f5e32aed.png)
Depth Test: If selected, depth test should be performed and compared in the depth buffer.
Depth Write: If selected, the geometry depth is written to the depth buffer. Deselect it if you are rendering objects that are transparent.
Depth Function: Determine how the depth testing gets performed.
- Never: The depth test never passes and the object will never be rendered.
![depth function never](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/depth_function_never-dfc1c395e3b8f8bea52f3916edddf65f.gif)
- Less: Draw the part of the object when it is in front of the existing objects and hide the parts that are behind the existing objects.
![depth function less](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/depth_function_less-22df1ed1dd1d0fc29ab7cd3f3f24f293.gif)
- Equal: Draw the part of the object that is at the same depth as the existing objects and hide the parts that are in front or behind the existing objects.
- Less Equal: Draw the part of the object that is in front or at the same depth as the existing objects and hide the parts that are behind the existing objects.
![depth function less equal](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/depth_function_less_equal-24fe2e6b7bb36242861de1ff1764bef6.gif)
- Greater: Draw the part of the object that is behind the existing objects, and hide the parts that are in front of the existing objects.
![depth function greater](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/depth_function_greater-dec238baaaaccf4e65dc3b27385eb980.gif)
- Not Equal: Draw the part of the object that is not at the same depth as the existing objects.
![depth function not equal](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/depth_function_not_equal-03eea3c447b064cef9015984892a2421.gif)
- Greater or Equal: Draw the part of the object that is behind or at the same depth as the existing objects and hide the parts that are in front of the existing objects.
![depth function greater equal](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/depth_function_greater_equal-aa56218ce55fdd87a2dca972839a100b.gif)
- Always: The depth test always passes. Always render the object with the material.
![depth function always](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/depth_function_always-e9c5c5816fc00db5f1046dbdcb242e45.gif)
Color Mask: If the following are left unselected, writing to the unselected channel into the render target will be stopped.
- R: Red
- G: Green
- B: Blue
- A: Alpha channels
![color mask property](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/color_mask_property-aa3b2f6d5433eec6b2b4ba3b6682a9c0.png)
Cull Mode: The polygon has front and back sides.
![cull mode property](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/cull_mode_property-70043eba7327564da82f0b1a308a18f8.png)
- None: Both inside and outside faces will render.
- Back: Polygons that face away from the viewer will not render.
- Front: Inside facing polygons will render.
Blend Mode instructs how the current material blends with the background. The default mode is Transparent.
![blend mode property](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/blend_mode_property-710233d79a5e30174ed4f6cb0bb89cb1.png)