How to remove diagonal when enableEdgesRendering

I import gltf and enableEdgesRendering for meshes, and I got diagonal on mesh which I don’t need.

But when I create a mesh instead of import from gltf, edge render is ok like this:

Something like this?


I don’t understand your example, I can’t find enableEdgeRendering in the example.


Its not an edge render its a custom barycentric shader.