Port Drei edges over to babylon

Drei has added functionality for edges and outlines, which run as a shader instead of geometry (if I understand it correctly)

I have big performance problems with babylons current edges implementation, because of large scenes and lots of edges.

so this would be awesome



it looks like Threlte has also started an implementation for this.

How hard would it be for us to port it to babylon?

This looks like there are plenty of artifacts in there.

Would screen space curvature be a good fit there ? https://playground.babylonjs.com/#5VAG0A#2

1 Like