How to multiply a matrix with a vector in shader?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By icqqq

I find matrixCompMult but it only support 2 matrix input.
So how can I multiply a matrix with a vector ?
Thanks!

:bust_in_silhouette: Reply From: cascas

In shaders you can usually just do matrix * vector