从无法访问的项目Fork
When render targets are used, they output to the render target inverted due to the way that opengl works. This fixes that issue by inverting the projection matrix so that it renders the image upside down and inverting the front face from counterclockwise to clockwise.