rasterizer
rasterizer copied to clipboard
the way to extract near plane from projection matrix is incorret.
Since you are using DirectX, the coefficient for the near plane is just row2 of the matrix, It is row2+row3 in GL.