Error with MatrixTranspose node in NME

Hello ! I found an issue with the MatrixTranspose node in NME.
At compile time, the variable name in the shader is put twice at declaration resulting in an undeclare identifier later in the code.
Here is a minimal reproduce example:

Error is caused by this:

mat4 output2output2 = transpose(u_World);

will be fixed by Fix NME MatrixTransposeBlock by sebavan · Pull Request #14985 · BabylonJS/Babylon.js · GitHub

Thank you very much for the quick fix :slight_smile: Have a great day !

1 Like