Mesh add edge,showBoundingBox ,bounding add edge

Add the sphere with showBoundingBox=false to the edge renderList, stroke only the sphere.

Add the sphere with showBoundingBox=true to the edge renderList, the stroke will only describe the sphere and the bounding.

I want to add a sphere with showBoundingBox=true to the edge renderList, and the stroke will only describe the sphere, but not the bounding.
Thanks!

Let me have a look!

I see! You are using a postprocess to render the edges and thus it will apply to everything on the screen.

Here the idea would be to have two scenes and only render the bounding boxes on the second scene. You render the second scene on top of the first one without clearing the depth buffer to avoid re-rendering the meshes.

Using Multiple Scenes | Babylon.js Documentation