-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OutlineEffect: Support for SkinnedMesh? #194
Comments
The |
I'll have a look into why it's not working for me and report back |
So the issue occurs when my selection of meshes contains both |
Thanks for digging deeper! Skinning should work even if static and dynamic meshes are selected so this could be a bug. Not sure where it's coming from, though. I'll take a closer look when I have more time. It might also be a good idea to add a skinned mesh to the outline demo for debugging purposes. |
As I thought, this is a known issue: mrdoob/three.js#18533 and mrdoob/three.js#14577 seem to be the relevant discussions. The current behaviour of three's override material system also affects SSAO which uses a |
I can confirm, that Is there any fix for this? |
Not that I'm aware of. This issue also puts a damper on #190. |
A workaround for override materials with instanced and skinned meshes has been added in |
Currently
OutlineEffect
doesn't supportSkinnedMesh
. The outline shows up, but doesn't follow the animation, just stays at whatever the default pose is. This is now supported with three's ownOutlinePass
. How tricky would it be to get it working with this library? I'm willing to give it a go if I can get a bit of direction on how to do it. Thanks!Related three.js links:
https://stackoverflow.com/questions/59786826/best-method-to-get-outline-effect-with-animated-skinned-mesh
mrdoob/three.js@ff77da4
The text was updated successfully, but these errors were encountered: