MAKING 3D ITEMS - BLENDER
Masking
5min
overview items in zepeto are placed in the same space as the base zepeto avatar this can cause a variety of potential issues one issue is that the area of the body that would be otherwise unseen underneath or behind the item can reduce app performance, as the unseen body would still be computed, despite being visually hidden another issue is that the body and the item can intersect through each other, creating an unappealing error that can look like a glitch items may have sections where the underlying body should be replaced with a body created for the item well applied masking can help mitigate these issues to mask the body below the item, we can use vertex colors applied to the mask mesh object to apply a black and white mask this vertex color data will be interpreted in unity to disable sections of the zepeto avatar for use in app to improve performance and reduce clipping requirements the mask needs to be rigged on a t pose armature the vertex colors should either be solid black or white workflow the masking process is a relatively simple process with the mask object selected and in blender’s vertex paint mode, color data will be applied to the mask mesh using 3d paint tools use the 3d mask object provided by zepeto in the prepare for 3d modeling docid\ tcqj6qxjg2dgygca7shox or the same mask file provided by the mask object file https //studio zepeto me/console/download/6528a6e1e3ba6f4d2032c3a3 with the mask object selected, go to vertex paint mode set the paint color to black and set the brush falloff to constant a in blender 3 3, the vertex paint brush has two color slots for a foreground and background color they are set to black and white as default to switch colors between foreground and background slots, you can use the ‘x’ key or the “swap colors” button in the tool settings toolbar using the vertex paint tool, paint the mask mesh black where the item covers the mask the black painted portions of the mask should not extend past the clothing item when the masking process is complete, clear the parent on the mask object with the “clear and keep transforms” option also make sure that the armature modifier is removed in the modifiers tab this will help prepare the mask for export