Hello everyone, I hope u all good!
I’ve got a small question. I am using mesh.enableEdgesRendering()
to enable edges for mesh.
Is it possible or could be possible to change edges renderingGroupId separately from mesh renderingGroupId.
So e.q. in this playground. only edges could be visible through the sphere.
https://www.babylonjs-playground.com/#TYAHX#137
I was thinking about creating two the same boxes. One invisible with edges and the second one visible without edges (with renderingGroupId like the sphere or lower) so I’ll have the desired effect but I think maybe it could be done better
This is the effect I’m talking about: https://www.babylonjs-playground.com/#TYAHX#139
I’m just wondering if it could be done without duplicating the mesh.