You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OutlineEffect only show one side on a Double Side ShapeGeometry #265
The OutlinePass renders the depth of selected objects via three's override material system. Unfortunately, this system completely ignores all values of the original materials. This library provides an overide material workaround that fixes important issues with skinned and instanced meshes, but it doesn't add support for all individual material settings like normalMap and side because this would drastically increase the number of additional override materials.
However, I think that the side field doesn't really belong to the material because it affects how the geometry is rendered so I think it should be fine to support it. I'll publish a patch in a bit.
In any case, please make sure the override material workaround is enabled.
Activity
vanruesc commentedon Jan 29, 2021
Thanks for reporting this.
The
OutlinePassrenders the depth of selected objects via three's override material system. Unfortunately, this system completely ignores all values of the original materials. This library provides an overide material workaround that fixes important issues with skinned and instanced meshes, but it doesn't add support for all individual material settings likenormalMapandsidebecause this would drastically increase the number of additional override materials.However, I think that the
sidefield doesn't really belong to the material because it affects how the geometry is rendered so I think it should be fine to support it. I'll publish a patch in a bit.In any case, please make sure the override material workaround is enabled.
vanruesc commentedon Jan 30, 2021
Added support for
BackSideandDoubleSidetoOverideMaterialManagerin[email protected].