Search Unity

Question Mask 3D Clothing with Body Tracking

Discussion in 'Unity MARS' started by macgregger, Oct 20, 2022.

  1. macgregger

    macgregger

    Joined:
    Feb 13, 2018
    Posts:
    28
    Hello there,

    I am experimenting with digital clothing and body-tracking, and I am searching for a way to mask certain parts of my mesh.

    For example, in the picture below you should not see the back of the dress, since the human body should cover it.



    Does somebody have an idea?

    Thx a lot.
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    297
    hello @macgregger ,

    This is a difficult one since MARS would not provide you with an actual mesh of the captured body; being said that, a workaround on that would be on your mesh to cull the interior parts; just like the old Unity3D Plane where you can see it from above but its invisible from below; I would do the same with the normals on that vest, make it visible from the outside but cull it from the inside.

    Hope it helps! :)