Accessing View Projection Matrix from material

It’s an old post but, I leave a comment because I think There are still many people that search for this these days.


You can get view projection matrix using custom node and ResolvedView.ViewToClip fuction.
Return value is a matrix so, you should acces rows or elements with a array access expression. e.g. ResolvedView.ViewToClip[0][0]

I think there are more matrix like that in engine code so, If I need I should search through engine code.

2 Likes