Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML ShaderEffect and property type

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images