From 7f00646e59c8d3e97378626bf17fd1fa0c618ab3 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Wed, 16 Mar 2016 15:16:45 +0300 Subject: [PATCH] Review fixes --- drape/shaders/user_mark.vsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drape/shaders/user_mark.vsh b/drape/shaders/user_mark.vsh index 6c475bcfb2..d5ab17330f 100644 --- a/drape/shaders/user_mark.vsh +++ b/drape/shaders/user_mark.vsh @@ -16,6 +16,8 @@ void main(void) if (a_animate > 0.0) normal = u_interpolationT * normal; + // Here we intentionally decrease precision of 'pos' calculation + // to eliminate jittering effect in process of billboard reconstruction. lowp vec4 p = vec4(a_position, 1) * modelView; highp vec4 pos = vec4(normal, 0, 0) + p; pos = pos * projection;