Complex shape character outline

后端 未结 5 2074
太阳男子
太阳男子 2020-12-05 01:07

Say I have this character and I want allow user to select it, so when it s selected I want to show an outline around it.

5条回答
  •  再見小時候
    2020-12-05 01:48

    I haven't found the answer yet but I wanted to demonstrate what happens when I create multiple meshes, and put another mesh behind each of these meshes with

    side: THREE.BackSide  
    

    http://jsfiddle.net/GwS9c/8/

    as you can see, it's not the desired effect. I would like a clean outline behind ALL three meshes, that doesn't overlap. My level of programming shaders is really non-existent, but on most online resources people say to use this approach of cloning the meshes.

提交回复
热议问题