What should I do with this frame which is similar to the highlight layer?

Like this:


Screenshot from:

not sure I fully get the question ??? but the edgesRenderer might be what you are looking for.

2 Likes

That is what I need :grin:

1 Like

I seem to have missed something.Babylon.js Playground
It has no effect on both sides of the cylinder.Do you have any idea ?

It only impacts where there is a sharp change of normals unfortunately so in your case using a highlight layer in edge mode might be better ?

In the constructor options you can put isStroke to true

2 Likes

Thanks ! isStroke is worked. hightlight can do it .https://playground.babylonjs.com/#U8BCGJ#1

1 Like

@musk : in case you didn’t have it already, here are more tips on Highlighting Meshes | Babylon.js Documentation

1 Like