- Home /
HIghlight Mesh Areas near bone
Is there any way to highlight the mesh near a bone. I thought of using a ring or arrow but the ring would need to be resized to fit, and the arrow would need to know how to point each time. Ideally I'd like the polygons to light up, but that sounds way too complex. Is there any easy solution or alternatives maybe decals?
thanks
Dan
Answer by testure · Sep 17, 2011 at 12:58 AM
you'd have to write a custom shader that reads from a mask.. and you'd have to write the custom mask on the fly based on which bone you wanted highlighted (i'd assume just scan the mesh and use the weighting values and SetPixel in UV space for each one).
It's not a super simple thing to do, that's for sure.
Your answer
![](https://koobas.hobune.stream/wayback/20220612214149im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I animate a single model with two skinned meshes? 1 Answer
problems importing bone based vertex animation 3 Answers
Vehicle Parts - Bones or Separate Objects? 2 Answers
First Person Legs. 3 Answers
Moving bones without moving mesh 1 Answer