Hi all,
I would like to pass a matrix3×3 to my openGL script but I can’t find the right type to use in QML.
It works with a matrix4×4 in the following example :
ShaderEffect {
...
property matrix4x4 uMatrix: Qt.matrix4x4(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1)
...
}
Unfortunately the QML type “matrix3×3” does not exist. I tried many other types without success.
Does anyone have a solution please ?
↧









