Addding border to a model loaded with GLTFLoader


I have added a model to the scene with GLTFLoader. Now if I apply the wireframe to the material it works. But my requirement is to show the model with the texture and also with the wireframe. Please let me know on this.

Thanks in advance.

Duplicate of: Object wireframe with fill color in my current code

Thanks for the response. It worked like a charm.

Can it be integrated with the default materials property in the upcoming updates?

What do you want to be integrated with the default materials?

No, I guess not. Setting material.wireframe true is sufficient for most use cases. In all other cases, using WireframeGeometry is an appropriate approach.

1 Like

Ok Thanks for the response.