Hi, I’ve created a simple shader to show a curve. My problem is that only part of the curve (the beginning) shows up on the screen.
However when I set the wireframe mode, then I can see all the triangles.
Is it an issue with my fragment shader? What causes WebGL to choose on what fragments the fragment shader gets called.
I tried putting the camera behind the curve, and I still don’t see the hidden part.
Reproduction here: Edit fiddle - JSFiddle - Code Playground . You can change the wireframe mode in the first line.
Thanks.