diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2016-03-16 15:16:45 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:56:31 +0300 |
commit | 7f00646e59c8d3e97378626bf17fd1fa0c618ab3 (patch) | |
tree | ad48cdcf30758a95a71ce227bf9333ac53e6dd14 /drape | |
parent | 13cc393e39071cf09f025a44ee5c74b7182e100e (diff) |
Review fixes
Diffstat (limited to 'drape')
-rw-r--r-- | drape/shaders/user_mark.vsh | 2 |
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; |