(2024-10-18, 16:13)Orion Pobursky Wrote: This is a known problem with lines in WebGL. I vaguely remember a discussion here on the forums if you want to dig for it.
Normally a program would polygonOffset to push the solid polygons back in the Z-Buffer a little bit so that when the edge lines are drawn, they don't get hidden like this. (LDView does the equivalent with OpenGL.) I'm not sure if this is compatible with modern WebGL, but I don't see any indication that it isn't. (Note: polygonOffset must push back the solid polygons; it cannot be used to pull the edge lines forward.)