How to achieve the effect of hollowing out characters in Genshin Impact

You can simulate it in three
for threejs you can swap the material for a transparent opacity mat
or setup the characters on a different render pass and fade that by index

BUT that game has its own render pipeline and thats a much more complicated thing that allows smarter artistic control which you would build up from