Complex shape character outline

后端 未结 5 2126
太阳男子
太阳男子 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:54

    I found something on gamedev.stackexchange.com/ that could be useful. They talk of a stencil buffer. I have no idea on how to apply this to THREE.js though..

    https://gamedev.stackexchange.com/questions/59361/opengl-get-the-outline-of-multiple-overlapping-objects

提交回复
热议问题