I want to change the z value of a specific slot of a spine and put a regular mesh in the middle as follows. (If you look at the attached gif, it will be easy to understand.)
https://d.pr/i/l12mCx
I modified the spine-ts(threejs) library to make it work like the attached video. However, if you set the material property of the mesh in the middle to transparent = true, there is a problem that a transparent border appears as you can see.
Is there any way to get rid of this transparent border?
I found the answer myself. It was solved by properly discarding the alpha value in the fragment shader.