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

Create reuseable shaderEffect

$
0
0
When I try the code you list above (Wobble.qml and WobbleMain.qml) it works just fine. Do you have them in the same directory? What is the error you get? There is no way to pass uniform arrays from QML code, but you could do that using the scene graph material API (QSGMaterial or QSGSimpleMaterial).

Viewing all articles
Browse latest Browse all 4972