They look terrible when rounding errors catch up. Jerky movement and
flickering between N and N+1 square pixels when rendered.
Change-Id: Id27caa38de70a10537382962cc29a0f1254a91fc
Reviewed-on: http://codereview.qt-project.org/4949
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
else if(entry == 2.)
currentSize = currentSize * fadeIn * fadeOut;
+ if(currentSize <= 0)//Sizes too small look jittery as they move
+ currentSize = 0;
+ else if(currentSize < 3)
+ currentSize = 3;
+
highp vec2 pos;
#ifdef DEFORM
highp float rotation = vRotation.x + vRotation.y * t * vData.y;