Search Unity

How to make part of a mesh invisible, preferably without separating the mesh?

Discussion in 'General Graphics' started by ml785, Jan 27, 2021.

  1. ml785

    ml785

    Joined:
    Dec 20, 2018
    Posts:
    119
    I have a rigged 3D model that has a "Body" mesh. If you hide "Body" mesh then the whole model disappears. I want to hide just the feet, but it doesn't have a separate "feet" mesh so I can't just make it inactive in the Inspector.

    Is there a way to make just the feet invisible anyhow? Preferably entirely within Unity rather than having to do some Blender work which I'm scared will corrupt the model's rig?

    Thanks!!

    Edit: I *have* found success in reducing the feet bone's scale but that's not going to work for my purpose. Need it keeping its scale, but hidden
     
    Last edited: Jan 27, 2021
  2. Sky77

    Sky77

    Joined:
    Jan 30, 2014
    Posts:
    171
    You can use a cutout shader and the alpha clipping value to make some part of the mesh invisible, based on the alpha of the texture. :)
     
    ml785 likes this.