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
diff options
context:
space:
mode:
Diffstat (limited to 'drape/shaders/text_outlined_gui_vertex_shader.vsh')
-rwxr-xr-xdrape/shaders/text_outlined_gui_vertex_shader.vsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/drape/shaders/text_outlined_gui_vertex_shader.vsh b/drape/shaders/text_outlined_gui_vertex_shader.vsh
index 45206f029b..6a60995631 100755
--- a/drape/shaders/text_outlined_gui_vertex_shader.vsh
+++ b/drape/shaders/text_outlined_gui_vertex_shader.vsh
@@ -29,7 +29,7 @@ void main()
// Here we intentionally decrease precision of 'pos' calculation
// to eliminate jittering effect in process of billboard reconstruction.
- lowp vec4 pos = (a_position + vec4(Zero, Zero, depthShift, Zero)) * modelView;
+ lowp vec4 pos = (vec4(a_position.xyz, 1.0) + vec4(Zero, Zero, depthShift, Zero)) * modelView;
highp vec4 shiftedPos = vec4(a_normal, Zero, Zero) + pos;
gl_Position = shiftedPos * projection;
vec2 colorTexCoord = a_colorTexCoord * notOutline + a_outlineColorTexCoord * isOutline;