in model_view_projection, we are given the view and projection matrices.
If I understand correctly, we convert the geometry (given in world coordinates) into camera coordinates and then use the projection matrix to convert it to 2D.
However, the projection matrix is mat4, which means the output vector is 4D. What is the projection matrix (i.e, what values does it have) and what exactly does it do?
in model_view_projection, we are given the view and projection matrices.
If I understand correctly, we convert the geometry (given in world coordinates) into camera coordinates and then use the projection matrix to convert it to 2D.
However, the projection matrix is mat4, which means the output vector is 4D. What is the projection matrix (i.e, what values does it have) and what exactly does it do?