Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/drape
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-03-16 15:16:45 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:56:31 +0300
commit7f00646e59c8d3e97378626bf17fd1fa0c618ab3 (patch)
treead48cdcf30758a95a71ce227bf9333ac53e6dd14 /drape
parent13cc393e39071cf09f025a44ee5c74b7182e100e (diff)
Review fixes
Diffstat (limited to 'drape')
-rw-r--r--drape/shaders/user_mark.vsh2
1 files changed, 2 insertions, 0 deletions
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;