How to do matrix math in NodeMaterial

In class BABYLON.Matrix, there are lots of useful math methods like determinant, decompose, invert, multiply, scale, invert, transpose, are custom blocks required for this operations?

Standard NME Math block Operations (Scale, Multiply, reciprocal…) will accept matrices as inputs.
And you can build a matrix from 4 vec4 using Matrix Builder.
Are you thinking of a missing operation in particular?

1 Like

Thanks for noticing this.
Which of the blocks means determinant, decompose, and transpose if input is matrix?

Also, the docs might need to be updated.

adding @Evgeni_Popov but I do not think we got those

Indeed, we don’t have these blocks.

I think you can create an issue so that we can keep track of the request.

2 Likes