aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/allsmiles/smile.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/particles/allsmiles/smile.qml')
-rw-r--r--examples/declarative/particles/allsmiles/smile.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/particles/allsmiles/smile.qml b/examples/declarative/particles/allsmiles/smile.qml
index 6b122e7be5..3eb57617ec 100644
--- a/examples/declarative/particles/allsmiles/smile.qml
+++ b/examples/declarative/particles/allsmiles/smile.qml
@@ -79,7 +79,7 @@ Rectangle{
uniform highp float maxWidth;
uniform highp float maxHeight;
- uniform highp mat4 qt_ModelViewProjectionMatrix;
+ uniform highp mat4 qt_Matrix;
uniform highp float timestamp;
uniform lowp float qt_Opacity;
@@ -105,7 +105,7 @@ Rectangle{
+ vVec.xy * t * vData.y // apply speed vector..
+ 0.5 * vVec.zw * pow(t * vData.y, 2.);
- gl_Position = qt_ModelViewProjectionMatrix * vec4(pos.x, pos.y, 0, 1);
+ gl_Position = qt_Matrix * vec4(pos.x, pos.y, 0, 1);
highp float fadeIn = min(t * 10., 1.);
highp float fadeOut = 1. - max(0., min((t - 0.75) * 4., 1.));