Hey Volks
I have some trouble getting my 3x3 / 3x2 orthographic Matrix running from my 4x4 Matrix that looks like
2.0f * invRL , 0 , 0 , 0
0 , 2.0f * invTB , 0 , 0
0 , 0 , -2.0f * invFN , 0
-(right + left) * invRL, -(top + bottom) * invTB, -(zFar + zNear) * invFN, 1
where
invRL = 1.0f / (right - left)
invTB = 1.0f / (top - bottom)
invFN = 1.0f / (zFar - zNear)
But I cant currently figure out (maybe related to the weather) how to make a 3x3 (and 3x2) Matrix from it looking same as the 4x4 one.
Thanks in advance