How do I get the projection matrix?

anonymous_user_0aa0a50c
Tue, 29 Oct 2019 20:50:20 +0000
Rendering

For a shader I have I need to pass in the view projection matrix. I know how to calculate the view matrix, just the inverse of the camera’s transform. I cannot figure out where the get the projection matrix though. Does anyone know how? I know in Unity it was just unity_MatrixVP.

5 posts - 4 participants