I’m trying to make a “flat clipping”. (there is a better word to describe it)
So, I guess orthographic projection is what I need here.
Basically, I wanna slice the scene on a plane.
Even though I restricted near and far planes, Line still seems to render incorrectly.
Line from jsFiddle
I expect it to render the continious line (without spaces).
Is this the expected behaviour and that means that I need to create my own camera (use some other projection method) or probably adjust Vertex shader for my use case?
As you can see on the Visualization image the projection appears thin
Sorry if I failed to describe the “flat clipping” part