I’m having a problem trying to draw poligons that cross the near plane, i.e. at least one vertex is outside the view frustum.
I’m using ortho projection, and when the polygon is perpendicular to the near plane and part of it is on the wrong side of the near plane, i.e. outside the view frustum, the polygon should render as a line, but instead it disappears. How do I avoid this, how do i get it to render a line?