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
I got the same problem. Even though the depthTest and depthWrite of the MeshLineMaterial is true, the outline pass won't work.
I have found the key points.
The shader of outline pass only worked for standard view-model transform, so that it did not work for meshline or sprite either. In order to resolve it, I coded two vert-shaders for them, and fixed meshes type checking in outline render function. then it worked for them.
I got the same problem. Even though the depthTest and depthWrite of the MeshLineMaterial is true, the outline pass won't work.
I have found the key points.
The shader of outline pass only worked for standard view-model transform, so that it did not work for meshline or sprite either. In order to resolve it, I coded two vert-shaders for them, and fixed meshes type checking in outline render function. then it worked for them.
I knew the type checking in outline render function. But what's wrong with view-model transform ? Could you show more details?
I am using both meshline and
outline pass
in three.jsbut found outline pass does not work with meshline.
Is there a way to resolve it?
The text was updated successfully, but these errors were encountered: